Class INetworkedVariable<T>
- Namespace
- Netick
- Assembly
- Netick.dll
public abstract class INetworkedVariable<T> : NetworkVariable, Serializable
Type Parameters
T
- Inheritance
-
INetworkedVariable<T>
- Implements
- Derived
- Inherited Members
Constructors
INetworkedVariable(T, NetworkBehaviour, int, bool, int, bool, OnChangedEvent<T>, int)
public INetworkedVariable(T initial, NetworkBehaviour netObject, int id, bool isPredicted, int interpolationOption, bool onlyInputSource, OnChangedEvent<T> onChanged = null, int interpolationId = -1)
Parameters
initial
TnetObject
NetworkBehaviourid
intisPredicted
boolinterpolationOption
intonlyInputSource
boolonChanged
OnChangedEvent<T>interpolationId
int
Fields
OnValueChanged
public OnChangedEvent<T> OnValueChanged
Field Value
Properties
Value
public T Value { get; set; }
Property Value
- T
Methods
ApplyReceivedData(Tick)
public override void ApplyReceivedData(Tick tick)
Parameters
tick
Tick
IsNotEqual(T, T)
public abstract bool IsNotEqual(T a, T b)
Parameters
a
Tb
T