Drag[en]gine Script Module DragonScript
1.23
|
List of connections to create network states for. More...
Public Member Functions | |
void | add (Connection connection) |
Add connection. More... | |
void | forEach (Block ablock) |
Visit connections with block. More... | |
Connection | getAt (int index) |
Connection at index. More... | |
int | getCount () |
Count of connections. More... | |
bool | has (Connection connection) |
Connection is present. More... | |
ConnectionTracker | new () |
Create connection tracker. More... | |
void | remove (Connection connection) |
Remove connection. More... | |
void | removeAll () |
Remove all connections. More... | |
List of connections to create network states for.
Used by behaviors to track connections for which network states have to be created. The behaviros register a listener to be notified if connections are added and removed.
void Dragengine.Networking.ConnectionTracker.add | ( | Connection | connection | ) |
Add connection.
void Dragengine.Networking.ConnectionTracker.forEach | ( | Block | ablock | ) |
Visit connections with block.
Block receives as argument connection of type Connection.
Connection Dragengine.Networking.ConnectionTracker.getAt | ( | int | index | ) |
Connection at index.
int Dragengine.Networking.ConnectionTracker.getCount | ( | ) |
Count of connections.
bool Dragengine.Networking.ConnectionTracker.has | ( | Connection | connection | ) |
Connection is present.
ConnectionTracker Dragengine.Networking.ConnectionTracker.new | ( | ) |
Create connection tracker.
void Dragengine.Networking.ConnectionTracker.remove | ( | Connection | connection | ) |
Remove connection.
void Dragengine.Networking.ConnectionTracker.removeAll | ( | ) |
Remove all connections.