Drag[en]gine Script Module DragonScript
1.23
|
List of ECBehaviorNetworkState to send messages to. More...
Public Member Functions | |
void | add (ECBehaviorNetworkState.Instance instance) |
Add behavior instance. More... | |
void | forEach (Block ablock) |
Visit behavior instance with block. More... | |
ECBehaviorNetworkState.Instance | getAt (UniqueID id) |
Behavior instance with unique identifier or null if absent. More... | |
int | getCount () |
Count of network states. More... | |
bool | has (UniqueID id) |
Behavior instance with unique identifier is present. More... | |
NetworkStateTracker | new () |
Create connection tracker. More... | |
void | remove (ECBehaviorNetworkState.Instance instance) |
Remove behavior instance. More... | |
List of ECBehaviorNetworkState to send messages to.
Used by ECBehaviorNetworkState supporting behaviors to send and receive messages linked to their owner element. This registration is application wide since network states exist outside game worlds. Requires each element to have a unique identifier.
void Dragengine.Networking.NetworkStateTracker.add | ( | ECBehaviorNetworkState.Instance | instance | ) |
Add behavior instance.
EInvalidParam | Behavior instance with identifier is present. |
void Dragengine.Networking.NetworkStateTracker.forEach | ( | Block | ablock | ) |
Visit behavior instance with block.
Block receives as first argument UniqueID identifier and as second argument ECBehaviorNetworkState.Instance instance.
ECBehaviorNetworkState.Instance Dragengine.Networking.NetworkStateTracker.getAt | ( | UniqueID | id | ) |
Behavior instance with unique identifier or null if absent.
int Dragengine.Networking.NetworkStateTracker.getCount | ( | ) |
Count of network states.
bool Dragengine.Networking.NetworkStateTracker.has | ( | UniqueID | id | ) |
Behavior instance with unique identifier is present.
NetworkStateTracker Dragengine.Networking.NetworkStateTracker.new | ( | ) |
Create connection tracker.
void Dragengine.Networking.NetworkStateTracker.remove | ( | ECBehaviorNetworkState.Instance | instance | ) |
Remove behavior instance.