NetworkVariable<(Of <(<'T>)>)> Methods
The NetworkVariable<(Of <(<'T>)>)> type exposes the following members.
Methods
Name | Description | |
---|---|---|
Equals |
Determines whether the specified object is equal to the current object.
|
|
GetHashCode |
Serves as the default hash function.
|
|
GetPreviousValue |
Gets the previous value of the network variable.
|
|
GetValue |
Gets the current value of the network variable, potentially invoking synchronization logic.
|
|
GetVariableType |
Gets the type of the network variable.
|
|
GetVariableValue |
Gets the current value of the network variable as an object.
|
|
OnSynchonize |
Sets the synchronization delegates for getting and setting the value of the network variable.
|
|
OnValueChange |
Sets the delegate to be called when the value of the network variable changes.
|
|
SetValue |
Sets the value of the network variable and triggers synchronization logic if set.
|
|
SetVariableValue |
Sets the value of the network variable using an object and triggers synchronization logic if set.
|
|
TriggerOnChange |
Triggers the onValueChange delegate with the specified old and new values.
|
|
Validate |
Validates the network variable, resetting the modified flag and updating the previous value.
|
|
WasModified |
Checks if the network variable has been modified since the last validation.
|