PlayerSession.connect

Tries to connect the player to a node. This function does not notify the old node of the change, as the old node should have called the function.

class PlayerSession
shared
bool
connect
(
ubyte reason
,
int nodeId = -1
,
ubyte[] message = []
,
ubyte onFail = HncomPlayer.Transfer.DISCONNECT
)

Meta