Skip to content

Extended from EventEmitter Request

This class is used for the client replication

Properties

table Content

The content of the request

{ }

string ClientId

The UserId of the client which sent the request if exists

Methods

void Send(content: Dictionary<string, any>)

Sends the request to the server

void Approve()

The request is approved and its replicated all the clients

BaseObject Accept()

Accepts the request and builds the object to be replicated

Player GetClient()

Returns the player which sent the request

Events

Name
Description
Build Params -> BaseObject
Fired when a request is accepted and the object to be replicated is being built