Extended from EventEmitter NetworkingService¶
This class is to replicate objects to other clients, for example the player character
Properties¶
table Players¶
A dictionary with the replicated objects by the clients
{ }
boolean DestroyObjectsOnLeave¶
Defines if the replicated objects by other clients should be destroyed when they leaves
Methods¶
NetworkingService Constructor(
)¶
void Replicate(object: BaseObject
)¶
Replicates an object to other clients
RBXScriptConnection ReplicateOnChange(object: BaseObject
)¶
Replicates an object and each change on it, and returns the connections that detect each change of the object
Events¶
Name |
Description |
---|---|
ReplicationRequest | Params -> Request Fired when a request is received by the client |