API:Class/NetworkReplicator

Abstract: This object is abstract. It cannot be created with Instance.new, and its members are inherited by other classes.
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.

Object Icon.pngNetworkReplicator : Object Icon.pngInstance

An object which handles the replication of other objects either from the server to the client, or from the client to the server.

Functions

Functions [toggle]

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).


Inherited Classes

NetworkReplicator icon.pngClientReplicator
NetworkReplicator icon.pngServerReplicator
|RMD member="API:Class/NetworkReplicator"|An object which handles the replication of other objects either from the server to the client, or from the client to the server. |/RMD|