|
Drag[en]gine Script Module DragonScript 1.32.1
|
List of connections to create network states for. More...
Public Member Functions | |
| void | add (Connection connection) |
| Add connection. | |
| void | forEach (Block ablock) |
| Visit connections with block. | |
| Connection | getAt (int index) |
| Connection at index. | |
| int | getCount () |
| Count of connections. | |
| bool | has (Connection connection) |
| Connection is present. | |
| ConnectionTracker | new () |
| Create connection tracker. | |
| void | remove (Connection connection) |
| Remove connection. | |
| void | removeAll () |
| Remove all connections. | |
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.