extends NetworkPeer
Class fields
| Field | XML type | Value |
|---|---|---|
Name | string | NetworkClient |
ExplorerOrder | string | 3 |
ExplorerImageIndex | string | 16 |
Properties
1Ticket
string| Field | XML type | Value |
|---|---|---|
Name | string | Ticket |
Functions
3Disconnect
(blockDuration: int = …) → void| Field | XML type | Value |
|---|---|---|
Name | string | Disconnect |
PlayerConnect
(userId: int, server: string, serverPort: int, clientPort: int = …, threadSleepTime: int = …) → Instance| Field | XML type | Value |
|---|---|---|
Name | string | PlayerConnect |
SetGameSessionID
(gameSessionID: string) → void| Field | XML type | Value |
|---|---|---|
Name | string | SetGameSessionID |
Events
3ConnectionAccepted
(peer: string, replicator: Instance) → void| Field | XML type | Value |
|---|---|---|
Name | string | ConnectionAccepted |
ConnectionFailed
(peer: string, code: int, reason: string) → void| Field | XML type | Value |
|---|---|---|
Name | string | ConnectionFailed |
ConnectionRejected
(peer: string) → void| Field | XML type | Value |
|---|---|---|
Name | string | ConnectionRejected |