Interface IChestCloseServerPacket

Unit

Declaration

type IChestCloseServerPacket = interface(IPacket)

Description

Reply to trying to interact with a locked or "broken" chest. The official client assumes a broken chest if the packet is under 2 bytes in length.

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetKey: TOptional<Cardinal>;
Public procedure SetKey(Key: TOptional<Cardinal>);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Key: TOptional<Cardinal> read GetKey write SetKey;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Attributes
GUID['{716358E3-CEC4-5834-9F15-D84B080D3DE4}']
Public function GetKey: TOptional<Cardinal>;

This item has no description.

Public procedure SetKey(Key: TOptional<Cardinal>);

This item has no description.

Public function Family: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public function Action: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public procedure Serialize(Writer: TEoWriter);

Serializes this IChestCloseServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to

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 Key: TOptional<Cardinal> read GetKey write SetKey;

Sent if the player is trying to interact with a locked chest

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.