Class TShopSellServerPacket
Unit
Declaration
type TShopSellServerPacket = class(TInterfacedObject, IPacket, IShopSellServerPacket)
Description
Response to selling an item to a shop
Hierarchy
- TInterfacedObject
- TShopSellServerPacket
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetSoldItem: IShopSoldItem; |
|
procedure SetSoldItem(SoldItem: IShopSoldItem); |
|
function GetGoldAmount: Cardinal; |
|
procedure SetGoldAmount(GoldAmount: Cardinal); |
|
function GetWeight: IWeight; |
|
procedure SetWeight(Weight: IWeight); |
|
function Family: TPacketFamily; |
|
function Action: TPacketAction; |
|
procedure Serialize(Writer: TEoWriter); |
|
class function PacketFamily: TPacketFamily; |
|
class function PacketAction: TPacketAction; |
|
class function Deserialize(Reader: TEoReader): TShopSellServerPacket; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property SoldItem: IShopSoldItem read GetSoldItem write SetSoldItem; |
|
property GoldAmount: Cardinal read GetGoldAmount write SetGoldAmount; |
|
property Weight: IWeight read GetWeight write SetWeight; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetSoldItem: IShopSoldItem; |
|
This item has no description. |
procedure SetSoldItem(SoldItem: IShopSoldItem); |
|
This item has no description. |
function GetGoldAmount: Cardinal; |
|
This item has no description. |
procedure SetGoldAmount(GoldAmount: Cardinal); |
|
This item has no description. |
function GetWeight: IWeight; |
|
This item has no description. |
procedure SetWeight(Weight: IWeight); |
|
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): TShopSellServerPacket; |
|
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 SoldItem: IShopSoldItem read GetSoldItem write SetSoldItem; |
|
This item has no description. |
property GoldAmount: Cardinal read GetGoldAmount write SetGoldAmount; |
|
|
property Weight: IWeight read GetWeight write SetWeight; |
|
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.