Click or drag to resize

NetId Constructor (Byte, UInt16, Boolean, Boolean)

[This is preliminary documentation and is subject to change.]

Initializes a new instance of the netId struct from transport values

Namespace:  MLAPI.Data
Assembly:  MLAPI (in MLAPI.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C#
public NetId(
	byte hostId,
	ushort connectionId,
	bool isHost,
	bool isInvalid
)
Request Example View Source

Parameters

hostId
Type: SystemByte
Host identifier.
connectionId
Type: SystemUInt16
Connection identifier.
isHost
Type: SystemBoolean
If set to true is host.
isInvalid
Type: SystemBoolean
If set to true is invalid.
See Also