com.onlineobject.objectnet Namespace

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

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

Constructors


  Name Description
Public method NetworkVariable<(Of <(<'T>)>)>
Initializes a new instance of the NetworkVariable class with the specified initial value.

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.

Operators


  Name Description
Public operator Static member Equality
Determines whether two NetworkVariable instances are equal.
Public operator Static member Implicit Widening Implicit Implicit Implicit (T to NetworkVariable<(Of <<'(T>)>>))
Implicitly converts a value of type T to a NetworkVariable of type T.
Public operator Static member Implicit Widening Implicit Implicit Implicit (NetworkVariable<(Of <<'(T>)>>) to T)
Implicitly converts a NetworkVariable of type T to a value of type T.
Public operator Static member Inequality
Determines whether two NetworkVariable instances are not equal.
Public operator Static member UnaryPlus
Unary plus operator to retrieve the value from a NetworkVariable.