Its interface does not cross the network boundary.
Instances of this class cannot be created with Instance.new.
It is a singleton that may be acquired with GetService.
Tags: [NotCreatable, Service, NotReplicated]
This service is responsible for connecting a client to a server.
- 462
Change ThreadSafety of ConnectionFailed
from
to
Unsafe
- 462
Change ThreadSafety of ConnectionAccepted
from
to
Unsafe
- 443
Remove ConnectionRejected
- 442
Add ConnectionRejected
- 443
Remove ConnectionRejected
- 438
Remove Ticket
- 311
Remove PlayerConnect
- 310
Remove SetGameSessionID
- 310
Remove Disconnect
- 302
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
- 301
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
- 302
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
- 259
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
- 151
Change Security of PlayerConnect
from
security1
to
PluginSecurity
- 150
Change Security of PlayerConnect
from
LocalUserSecurity
to
security1
- 133
Add SetGameSessionID
- 47
Add ConnectionRejected
- 47
Add ConnectionFailed
- 47
Add ConnectionAccepted
- 47
Add PlayerConnect
- 47
Add Disconnect
- 47
Add Ticket
- 47
Add NetworkClient
Fired when the client successfully connects to a server. Returns a string
showing the server's IP and Port, and the client's
ClientReplicator.
History 2
Fired if the client fails to connect to the server.
History 2
Parameters (1) | Default |
---|
blockDuration | int | 3000 |
Returns (1) |
---|
void |
History 2
History 8
- 311
Remove PlayerConnect
- 302
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
- 301
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
- 302
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1, userName: string = )
- 259
Change Parameters of PlayerConnect
from
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30)
to
(userId: int, server: string, serverPort: int, clientPort: int = 0, threadSleepTime: int = 30, dataCenterId: int = -1)
- 151
Change Security of PlayerConnect
from
security1
to
PluginSecurity
- 150
Change Security of PlayerConnect
from
LocalUserSecurity
to
security1
- 47
Add PlayerConnect