API:Class/ClientReplicator

Filtered-inheritance mode: While this class technically inherits all Instance class members, some (if not all) have been hidden because they serve no purpose for this object.
Uncreatable: This object cannot be created with Instance.new.

NetworkReplicator icon.pngClientReplicator : Object Icon.pngNetworkReplicator : Object Icon.pngInstance

The ClientReplicator is in charge of replicating changes from the server over to the client. It represents the client's connection to a server.

Functions

Functions [toggle]

Inherited from Object Icon.pngNetworkReplicator:
voidCloseConnection ( ) [LocalUserSecurity]

Disconnects the replicator, effectively ending the connection between the server/client.

|RMD member="API:Class/NetworkReplicator/CloseConnection"|Disconnects the replicator, effectively ending the connection between the server/client.|/RMD|
PlayerGetPlayer ( )

Returns the player that is connected to the NetworkReplicator.

|RMD member="API:Class/NetworkReplicator/GetPlayer"|Returns the player that is connected to the NetworkReplicator.|/RMD|
stringGetRakStatsString ( int verbosityLevel = 0 ) [PluginSecurity]

Returns a string displaying how many bytes are being sent/received by the replicator, and the current packet-loss. The verbosity level determines how much information is returned in the string (0 = Basic, 1 = Detailed, 2 = Full).

|RMD member="API:Class/NetworkReplicator/GetRakStatsString"|Returns a string displaying how many bytes are being sent/received by the replicator, and the current packet-loss. The verbosity level determines how much information is returned in the string (0 = Basic, 1 = Detailed, 2 = Full).|/RMD|
CloseConnection ( ) [LocalUserSecurity]
Disconnects the replicator, effectively ending the connection between the server/client.
Returns the player that is connected to the NetworkReplicator.
GetRakStatsString ( int verbosityLevel = 0 ) [PluginSecurity]
Returns a string displaying how many bytes are being sent/received by the replicator, and the current packet-loss. The verbosity level determines how much information is returned in the string (0 = Basic, 1 = Detailed, 2 = Full).


|RMD member="API:Class/ClientReplicator"|The ClientReplicator is in charge of replicating changes from the server over to the client. It represents the client's connection to a server. |/RMD|