Skip to content

Struct Engine::SignalConnection

ClassList > Engine > SignalConnection

Godot-style connection: when emitter fires signal , callmethod ontarget 's script table asmethod(table, emitter, other) .More...

  • #include <SignalConnections.hpp>

Public Attributes

Type Name
std::string method
std::string signal
Entity target = static\_cast&lt;[**Entity**](namespaceEngine.md#typedef-entity)&gt;(-1)

Detailed Description

Stored as plain data (never Lua closures) so connections survive scene save/load and script reloads: the method is re-resolved at dispatch time.

Public Attributes Documentation

variable method

std::string Engine::SignalConnection::method;

variable signal

std::string Engine::SignalConnection::signal;

variable target

Entity Engine::SignalConnection::target;


The documentation for this class was generated from the following file /home/runner/work/r-type/r-type/Engine/include/Components/SignalConnections.hpp