Class NetworkVariableULong
A NetworkVariable that holds ulongs and support serialization
Implements
Inherited Members
Namespace: MLAPI.NetworkVariable
Assembly: Unity.Multiplayer.MLAPI.Runtime.dll
Syntax
[Serializable]
public class NetworkVariableULong : NetworkVariable<ulong>, INetworkVariable
Constructors
NetworkVariableULong()
Creates a NetworkVariable with the default value and settings
Declaration
public NetworkVariableULong()
NetworkVariableULong(NetworkVariableSettings)
Creates a NetworkVariable with the default value and custom settings
Declaration
public NetworkVariableULong(NetworkVariableSettings settings)
Parameters
Type | Name | Description |
---|---|---|
NetworkVariableSettings | settings | The settings to use for the NetworkVariable |
NetworkVariableULong(NetworkVariableSettings, ulong)
Creates a NetworkVariable with a custom value and custom settings
Declaration
public NetworkVariableULong(NetworkVariableSettings settings, ulong value)
Parameters
Type | Name | Description |
---|---|---|
NetworkVariableSettings | settings | The settings to use for the NetworkVariable |
ulong | value | The initial value to use for the NetworkVariable |
NetworkVariableULong(ulong)
Creates a NetworkVariable with a custom value and the default settings
Declaration
public NetworkVariableULong(ulong value)
Parameters
Type | Name | Description |
---|---|---|
ulong | value | The initial value to use for the NetworkVariable |