Click or drag to resize

NetId Constructor (Byte, UInt16, Boolean)

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

Initializes a new instance of the netId struct from transport values

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

Parameters

hostId
Type: SystemByte
Host identifier.
connectionId
Type: SystemUInt16
Connection identifier.
isServer
Type: SystemBoolean
If set to true is isServer.
See Also