Class TShopOpenServerPacket

Unit

Declaration

type TShopOpenServerPacket = class(TInterfacedObject, IPacket, IShopOpenServerPacket)

Description

Response from talking to a shop NPC

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetSessionId: Cardinal;
Public procedure SetSessionId(SessionId: Cardinal);
Public function GetShopName: string;
Public procedure SetShopName(ShopName: string);
Public function GetTradeItems: TArray<IShopTradeItem>;
Public procedure SetTradeItems(TradeItems: TArray<IShopTradeItem>);
Public function GetCraftItems: TArray<IShopCraftItem>;
Public procedure SetCraftItems(CraftItems: TArray<IShopCraftItem>);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);
Public class function PacketFamily: TPacketFamily;
Public class function PacketAction: TPacketAction;
Public class function Deserialize(Reader: TEoReader): TShopOpenServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property SessionId: Cardinal read GetSessionId write SetSessionId;
Public property ShopName: string read GetShopName write SetShopName;
Public property TradeItems: TArray<IShopTradeItem> read GetTradeItems write SetTradeItems;
Public property CraftItems: TArray<IShopCraftItem> read GetCraftItems write SetCraftItems;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetSessionId: Cardinal;

This item has no description.

Public procedure SetSessionId(SessionId: Cardinal);

This item has no description.

Public function GetShopName: string;

This item has no description.

Public procedure SetShopName(ShopName: string);

This item has no description.

Public function GetTradeItems: TArray<IShopTradeItem>;

This item has no description.

Public procedure SetTradeItems(TradeItems: TArray<IShopTradeItem>);

This item has no description.

Public function GetCraftItems: TArray<IShopCraftItem>;

This item has no description.

Public procedure SetCraftItems(CraftItems: TArray<IShopCraftItem>);

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 TShopOpenServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function PacketFamily: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public class function PacketAction: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public class function Deserialize(Reader: TEoReader): TShopOpenServerPacket;

Deserializes an instance of TShopOpenServerPacket 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 SessionId: Cardinal read GetSessionId write SetSessionId;

Note
Value range is 0-64008

Public property ShopName: string read GetShopName write SetShopName;

This item has no description.

Public property TradeItems: TArray<IShopTradeItem> read GetTradeItems write SetTradeItems;

This item has no description.

Public property CraftItems: TArray<IShopCraftItem> read GetCraftItems write SetCraftItems;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.