Class TShopRecord
Unit
Declaration
type TShopRecord = class(TInterfacedObject, IShopRecord)
Description
Record of Shop data in an Endless Shop File
Hierarchy
- TInterfacedObject
- TShopRecord
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetBehaviorId: Cardinal; |
|
procedure SetBehaviorId(BehaviorId: Cardinal); |
|
function GetName: string; |
|
procedure SetName(Name: string); |
|
function GetMinLevel: Cardinal; |
|
procedure SetMinLevel(MinLevel: Cardinal); |
|
function GetMaxLevel: Cardinal; |
|
procedure SetMaxLevel(MaxLevel: Cardinal); |
|
function GetClassRequirement: Cardinal; |
|
procedure SetClassRequirement(ClassRequirement: Cardinal); |
|
function GetTrades: TArray<IShopTradeRecord>; |
|
procedure SetTrades(Trades: TArray<IShopTradeRecord>); |
|
function GetCrafts: TArray<IShopCraftRecord>; |
|
procedure SetCrafts(Crafts: TArray<IShopCraftRecord>); |
|
procedure Serialize(Writer: TEoWriter); |
|
class function Deserialize(Reader: TEoReader): TShopRecord; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property BehaviorId: Cardinal read GetBehaviorId write SetBehaviorId; |
|
property Name: string read GetName write SetName; |
|
property MinLevel: Cardinal read GetMinLevel write SetMinLevel; |
|
property MaxLevel: Cardinal read GetMaxLevel write SetMaxLevel; |
|
property ClassRequirement: Cardinal read GetClassRequirement write SetClassRequirement; |
|
property Trades: TArray<IShopTradeRecord> read GetTrades write SetTrades; |
|
property Crafts: TArray<IShopCraftRecord> read GetCrafts write SetCrafts; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetBehaviorId: Cardinal; |
|
This item has no description. |
procedure SetBehaviorId(BehaviorId: Cardinal); |
|
This item has no description. |
function GetName: string; |
|
This item has no description. |
procedure SetName(Name: string); |
|
This item has no description. |
function GetMinLevel: Cardinal; |
|
This item has no description. |
procedure SetMinLevel(MinLevel: Cardinal); |
|
This item has no description. |
function GetMaxLevel: Cardinal; |
|
This item has no description. |
procedure SetMaxLevel(MaxLevel: Cardinal); |
|
This item has no description. |
function GetClassRequirement: Cardinal; |
|
This item has no description. |
procedure SetClassRequirement(ClassRequirement: Cardinal); |
|
This item has no description. |
function GetTrades: TArray<IShopTradeRecord>; |
|
This item has no description. |
procedure SetTrades(Trades: TArray<IShopTradeRecord>); |
|
This item has no description. |
function GetCrafts: TArray<IShopCraftRecord>; |
|
This item has no description. |
procedure SetCrafts(Crafts: TArray<IShopCraftRecord>); |
|
This item has no description. |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function Deserialize(Reader: TEoReader): TShopRecord; |
|
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 BehaviorId: Cardinal read GetBehaviorId write SetBehaviorId; |
|
|
property Name: string read GetName write SetName; |
|
|
property MinLevel: Cardinal read GetMinLevel write SetMinLevel; |
|
Minimum level required to use this shop
|
property MaxLevel: Cardinal read GetMaxLevel write SetMaxLevel; |
|
Maximum level allowed to use this shop
|
property ClassRequirement: Cardinal read GetClassRequirement write SetClassRequirement; |
|
Class required to use this shop
|
property Trades: TArray<IShopTradeRecord> read GetTrades write SetTrades; |
|
|
property Crafts: TArray<IShopCraftRecord> read GetCrafts write SetCrafts; |
|
|
Generated by PasDoc 0.16.0-snapshot.