Roblox API Reference

NetworkClient On DevHub

Summary

This class is not creatable. An object of this class cannot be created with Instance.new.
This class is a service. It is a singleton that may be acquired with GetService.
This item is not replicated. Its interface does not cross the network boundary.

Tags: [NotCreatable, Service, NotReplicated]

Inherits (2)

Member index (2)

Type Member History
ConnectionAccepted (string peer, Instance replicator)
ConnectionFailed (string peer, int code, string reason)
1 member inherited from NetworkPeer
57 members inherited from Instance

Removed member index (5)

Type Member History
string Ticket 438
void Disconnect (int blockDuration = 3000) 310
Instance PlayerConnect (int userId, string server, int serverPort, int clientPort = 0, int threadSleepTime = 30, int dataCenterId = -1, string userName = ) 150 151 259 302 301 302 311
void SetGameSessionID (string gameSessionID) 133 310
ConnectionRejected (string peer) 443 442 443

History

Members

ConnectionAccepted On DevHub

Name Type Default
peer string none
replicator Instance none

ConnectionFailed On DevHub

Name Type Default
peer string none
code int none
reason string none

Removed members

ConnectionRejected

Name Type Default
peer string none

History

Disconnect

Name Type Default
blockDuration int 3000

History

PlayerConnect

Name Type Default
userId int none
server string none
serverPort int none
clientPort int 0
threadSleepTime int 30
dataCenterId int -1
userName string

History

SetGameSessionID

Name Type Default
gameSessionID string none

History

Ticket

History

Relevant classes (1)