|
Drag[en]gine Script Module DragonScript 1.32.1
|
Synchronized vector value. More...
Public Member Functions | |
Constructors | |
| SynchronizedVector | new () |
| Create synchronized vector value with initial value of 0. | |
| SynchronizedVector | new (Vector value) |
| Create synchronized vector value with initial value. | |
| SynchronizedVector | new (SynchronizedVector copy) |
| Create copy of synchronized vector value. | |
Management | |
| Vector | getValue () |
| Value of network state or local value if not set. | |
| void | setValue (Vector value) |
| Set value and update network state if set. | |
| NetworkState | getNetworkState () |
| Linked network state or null if not set. | |
| int | getNetworkStateValue () |
| Linked network state value index or -1 if not set. | |
| void | setNetworkState (NetworkState state, int value) |
| Set network state value to synchronize or null to clear. | |
| String | toString () |
| String representation. | |
Synchronized vector value.
Local vector value optionally synchronized across the network using a NetworkState value.
This is a native class.
| NetworkState Dragengine.Networking.SynchronizedVector.getNetworkState | ( | ) |
Linked network state or null if not set.
| int Dragengine.Networking.SynchronizedVector.getNetworkStateValue | ( | ) |
Linked network state value index or -1 if not set.
| Vector Dragengine.Networking.SynchronizedVector.getValue | ( | ) |
Value of network state or local value if not set.
| SynchronizedVector Dragengine.Networking.SynchronizedVector.new | ( | ) |
Create synchronized vector value with initial value of 0.
| SynchronizedVector Dragengine.Networking.SynchronizedVector.new | ( | SynchronizedVector | copy | ) |
Create copy of synchronized vector value.
| SynchronizedVector Dragengine.Networking.SynchronizedVector.new | ( | Vector | value | ) |
Create synchronized vector value with initial value.
| void Dragengine.Networking.SynchronizedVector.setNetworkState | ( | NetworkState | state, |
| int | value | ||
| ) |
Set network state value to synchronize or null to clear.
| EOutOfBoundary | value is less than 0 or larger than or equal to network state value count. |
| void Dragengine.Networking.SynchronizedVector.setValue | ( | Vector | value | ) |
Set value and update network state if set.
| String Dragengine.Networking.SynchronizedVector.toString | ( | ) |
String representation.