Class TChestCloseServerPacket
Unit
Declaration
type TChestCloseServerPacket = class(TInterfacedObject, IPacket, IChestCloseServerPacket)
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
- TInterfacedObject
- TChestCloseServerPacket
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetKey: TOptional<Cardinal>; |
|
procedure SetKey(Key: TOptional<Cardinal>); |
|
function Family: TPacketFamily; |
|
function Action: TPacketAction; |
|
procedure Serialize(Writer: TEoWriter); |
|
class function PacketFamily: TPacketFamily; |
|
class function PacketAction: TPacketAction; |
|
class function Deserialize(Reader: TEoReader): TChestCloseServerPacket; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property Key: TOptional<Cardinal> read GetKey write SetKey; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetKey: TOptional<Cardinal>; |
|
This item has no description. |
procedure SetKey(Key: TOptional<Cardinal>); |
|
This item has no description. |
function Family: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
function Action: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function PacketFamily: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
class function PacketAction: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
class function Deserialize(Reader: TEoReader): TChestCloseServerPacket; |
|
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property Key: TOptional<Cardinal> read GetKey write SetKey; |
|
Sent if the player is trying to interact with a locked chest
|
Generated by PasDoc 0.16.0-snapshot.