Class TServerSettings

Unit

Declaration

type TServerSettings = class(TInterfacedObject, IServerSettings)

Description

Settings sent with WELCOME_REPLY packet

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetJailMap: Cardinal;
Public procedure SetJailMap(JailMap: Cardinal);
Public function GetRescueMap: Cardinal;
Public procedure SetRescueMap(RescueMap: Cardinal);
Public function GetRescueCoords: ICoords;
Public procedure SetRescueCoords(RescueCoords: ICoords);
Public function GetSpyAndLightGuideFloodRate: Cardinal;
Public procedure SetSpyAndLightGuideFloodRate(SpyAndLightGuideFloodRate: Cardinal);
Public function GetGuardianFloodRate: Cardinal;
Public procedure SetGuardianFloodRate(GuardianFloodRate: Cardinal);
Public function GetGameMasterFloodRate: Cardinal;
Public procedure SetGameMasterFloodRate(GameMasterFloodRate: Cardinal);
Public function GetHighGameMasterFloodRate: Cardinal;
Public procedure SetHighGameMasterFloodRate(HighGameMasterFloodRate: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TServerSettings;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property JailMap: Cardinal read GetJailMap write SetJailMap;
Public property RescueMap: Cardinal read GetRescueMap write SetRescueMap;
Public property RescueCoords: ICoords read GetRescueCoords write SetRescueCoords;
Public property SpyAndLightGuideFloodRate: Cardinal read GetSpyAndLightGuideFloodRate write SetSpyAndLightGuideFloodRate;
Public property GuardianFloodRate: Cardinal read GetGuardianFloodRate write SetGuardianFloodRate;
Public property GameMasterFloodRate: Cardinal read GetGameMasterFloodRate write SetGameMasterFloodRate;
Public property HighGameMasterFloodRate: Cardinal read GetHighGameMasterFloodRate write SetHighGameMasterFloodRate;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetJailMap: Cardinal;

This item has no description.

Public procedure SetJailMap(JailMap: Cardinal);

This item has no description.

Public function GetRescueMap: Cardinal;

This item has no description.

Public procedure SetRescueMap(RescueMap: Cardinal);

This item has no description.

Public function GetRescueCoords: ICoords;

This item has no description.

Public procedure SetRescueCoords(RescueCoords: ICoords);

This item has no description.

Public function GetSpyAndLightGuideFloodRate: Cardinal;

This item has no description.

Public procedure SetSpyAndLightGuideFloodRate(SpyAndLightGuideFloodRate: Cardinal);

This item has no description.

Public function GetGuardianFloodRate: Cardinal;

This item has no description.

Public procedure SetGuardianFloodRate(GuardianFloodRate: Cardinal);

This item has no description.

Public function GetGameMasterFloodRate: Cardinal;

This item has no description.

Public procedure SetGameMasterFloodRate(GameMasterFloodRate: Cardinal);

This item has no description.

Public function GetHighGameMasterFloodRate: Cardinal;

This item has no description.

Public procedure SetHighGameMasterFloodRate(HighGameMasterFloodRate: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TServerSettings object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TServerSettings;

Deserializes an instance of TServerSettings from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property JailMap: Cardinal read GetJailMap write SetJailMap;

Note
Value range is 0-64008

Public property RescueMap: Cardinal read GetRescueMap write SetRescueMap;

Note
Value range is 0-64008

Public property RescueCoords: ICoords read GetRescueCoords write SetRescueCoords;

This item has no description.

Public property SpyAndLightGuideFloodRate: Cardinal read GetSpyAndLightGuideFloodRate write SetSpyAndLightGuideFloodRate;

Note
Value range is 0-64008

Public property GuardianFloodRate: Cardinal read GetGuardianFloodRate write SetGuardianFloodRate;

Note
Value range is 0-64008

Public property GameMasterFloodRate: Cardinal read GetGameMasterFloodRate write SetGameMasterFloodRate;

Note
Value range is 0-64008

Public property HighGameMasterFloodRate: Cardinal read GetHighGameMasterFloodRate write SetHighGameMasterFloodRate;

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.