Class TInitInitServerPacketReplyCodeDataBannedBanTypeData0

Unit

Declaration

type TInitInitServerPacketReplyCodeDataBannedBanTypeData0 = class(TInterfacedObject, IInitInitServerPacketReplyCodeDataBannedBanTypeData, IInitInitServerPacketReplyCodeDataBannedBanTypeData0)

Description

Data associated with IInitInitServerPacketReplyCodeDataBanned.BanType value 0.

The official client treats any value below 2 as a temporary ban. The official server sends 1, but some game server implementations erroneously send 0.

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetMinutesRemaining: Cardinal;
Public procedure SetMinutesRemaining(MinutesRemaining: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TInitInitServerPacketReplyCodeDataBannedBanTypeData0;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property MinutesRemaining: Cardinal read GetMinutesRemaining write SetMinutesRemaining;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetMinutesRemaining: Cardinal;

This item has no description.

Public procedure SetMinutesRemaining(MinutesRemaining: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TInitInitServerPacketReplyCodeDataBannedBanTypeData0 object to the provided TEoWriter.

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

Deserializes an instance of TInitInitServerPacketReplyCodeDataBannedBanTypeData0 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 MinutesRemaining: Cardinal read GetMinutesRemaining write SetMinutesRemaining;

Note
Value range is 0-255


Generated by PasDoc 0.16.0-snapshot.