NetworkClient

extends NetworkPeer

Class fields

FieldXML typeValue
NamestringNetworkClient
ExplorerOrderstring3
ExplorerImageIndexstring16

Properties

1
Ticket
string
FieldXML typeValue
NamestringTicket

Functions

3
Disconnect
(blockDuration: int = …) → void
FieldXML typeValue
NamestringDisconnect
PlayerConnect
(userId: int, server: string, serverPort: int, clientPort: int = …, threadSleepTime: int = …) → Instance
FieldXML typeValue
NamestringPlayerConnect
SetGameSessionID
(gameSessionID: string) → void
FieldXML typeValue
NamestringSetGameSessionID

Events

3
ConnectionAccepted
(peer: string, replicator: Instance) → void
FieldXML typeValue
NamestringConnectionAccepted
ConnectionFailed
(peer: string, code: int, reason: string) → void
FieldXML typeValue
NamestringConnectionFailed
ConnectionRejected
(peer: string) → void
FieldXML typeValue
NamestringConnectionRejected