com.onlineobject.objectnet Namespace

NetworkVariable<(Of <(<'T>)>)> Methods

The NetworkVariable<(Of <(<'T>)>)> type exposes the following members.

Methods


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