NetworkReplicator¶
An object which handles the replication of other objects either from the server to the client, or from the client to the server.
Description¶
Each NetworkReplicator corresponds to a single network connection between
two peers and serializes, transmits, receives, and applies the stream of data
model changes (new instances, property and attribute changes, event
invocations, and instance removals) that keeps those peers in sync. It is the
base class for the two concrete replicators: a ServerReplicator runs
on the server and replicates between the server and the connected client,
while a ClientReplicator runs on a client and replicates between that
client and the server. A NetworkReplicator is created and managed by the
engine automatically as clients connect and disconnect, and is not
instantiated or manipulated by creator scripts.
Inheritance¶
Object → Instance → NetworkReplicator
Nova inheritance: Instance → NetworkReplicator
Known subclasses: ClientReplicator, ServerReplicator
Properties¶
MachineAddress Supported Property
Port Supported Property
Methods¶
CloseConnection Supported Function
No description available.
LocalUserSecurityDisableProcessPackets Supported Function
No description available.
LocalUserSecurityEnableProcessPackets Supported Function
No description available.
LocalUserSecurityGetPlayer Supported Function Returns the player that is connected to the NetworkReplicator.
Returns the player that is connected to the NetworkReplicator.
Returns the Player associated with the connection that this
NetworkReplicator serves. On a ServerReplicator, this is the
remote client's player; on a ClientReplicator it is the local
player. Returns nil if the replicator has no target player, such as
before the connection has been assigned a player or after it has been torn
down.
GetRakStatsString Supported Function
No description available.
PluginSecurityRequestCharacter Supported Function
No description available.
LocalUserSecuritySendMarker Supported Function
No description available.
LocalUserSecuritySetPropSyncExpiration Supported Function
No description available.
LocalUserSecurityEvents¶
Disconnection Supported Event
No description available.
LocalUserSecurityInherited members¶
Inherited from Instance: 8 properties, 36 methods, 7 events. They are documented on the base class page.
Roblox reference: NetworkReplicator
Generated from Nova's API dump and Roblox creator-docs. Nova-only members come from the engine's reflection metadata.