C# Class ACR_ServerCommunicator.PlayerState

This object maintains extended state internal to the server communicator with respect to a player. It maintains data that is local to this server instance; the data is created at client enter, and removed at client leave. N.B. This state is intended for use by script code on the main thread.
Afficher le fichier Open project: ALandFarAway/ALFA-Base-Resources Class Usage Examples

Méthodes publiques

Méthode Description
PlayerState ( uint ObjectId, ACR_ServerCommunicator Communicator ) : System

Construct a new PlayerState object.

UpdateChatSelectGUIHeaders ( ) : void

This method updates the chat select GUI headers if the player had the GUI active. It is called after the count of players displayed has changed. N.B. This routine is assumed to be called in-thread-context on the main thread.

Private Methods

Méthode Description
UpgradeLegacySettings ( ) : void

Convert legacy database settings to their new format.

Method Details

PlayerState() public méthode

Construct a new PlayerState object.
public PlayerState ( uint ObjectId, ACR_ServerCommunicator Communicator ) : System
ObjectId uint Supplies the NWScript object id of the PC /// object.
Communicator ACR_ServerCommunicator Supplies the server communicator /// instance that the PlayerState object is bound to.
Résultat System

UpdateChatSelectGUIHeaders() public méthode

This method updates the chat select GUI headers if the player had the GUI active. It is called after the count of players displayed has changed. N.B. This routine is assumed to be called in-thread-context on the main thread.
public UpdateChatSelectGUIHeaders ( ) : void
Résultat void