C# Класс 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.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
UpgradeLegacySettings ( ) : void

Convert legacy database settings to their new format.

Описание методов

PlayerState() публичный Метод

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.
Результат System

UpdateChatSelectGUIHeaders() публичный Метод

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
Результат void