Class TShopBuyServerPacket
Unit
Declaration
type TShopBuyServerPacket = class(TInterfacedObject, IPacket, IShopBuyServerPacket)
Description
Response to purchasing an item from a shop
Hierarchy
- TInterfacedObject
- TShopBuyServerPacket
Overview
Methods
![]() |
function GetByteSize: Cardinal; |
![]() |
function GetGoldAmount: Cardinal; |
![]() |
procedure SetGoldAmount(GoldAmount: Cardinal); |
![]() |
function GetBoughtItem: IItem; |
![]() |
procedure SetBoughtItem(BoughtItem: IItem); |
![]() |
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): TShopBuyServerPacket; |
Properties
![]() |
property ByteSize: Cardinal read GetByteSize; |
![]() |
property GoldAmount: Cardinal read GetGoldAmount write SetGoldAmount; |
![]() |
property BoughtItem: IItem read GetBoughtItem write SetBoughtItem; |
![]() |
property Weight: IWeight read GetWeight write SetWeight; |
Description
Methods
![]() |
function GetByteSize: Cardinal; |
This item has no description. |
![]() |
function GetGoldAmount: Cardinal; |
This item has no description. |
![]() |
procedure SetGoldAmount(GoldAmount: Cardinal); |
This item has no description. |
![]() |
function GetBoughtItem: IItem; |
This item has no description. |
![]() |
procedure SetBoughtItem(BoughtItem: IItem); |
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): TShopBuyServerPacket; |
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 GoldAmount: Cardinal read GetGoldAmount write SetGoldAmount; |
|
![]() |
property BoughtItem: IItem read GetBoughtItem write SetBoughtItem; |
This item has no description. |
![]() |
property Weight: IWeight read GetWeight write SetWeight; |
This item has no description. |
Generated by PasDoc 0.16.0-snapshot.