Class TEifRecord

Unit

Declaration

type TEifRecord = class(TInterfacedObject, IEifRecord)

Description

Record of Item data in an Endless Item File

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetName: string;
Public procedure SetName(Name: string);
Public function GetGraphicId: Cardinal;
Public procedure SetGraphicId(GraphicId: Cardinal);
Public function GetType: TItemType;
Public procedure SetType(Type_: TItemType);
Public function GetSubtype: TItemSubtype;
Public procedure SetSubtype(Subtype: TItemSubtype);
Public function GetSpecial: TItemSpecial;
Public procedure SetSpecial(Special: TItemSpecial);
Public function GetHp: Cardinal;
Public procedure SetHp(Hp: Cardinal);
Public function GetTp: Cardinal;
Public procedure SetTp(Tp: Cardinal);
Public function GetMinDamage: Cardinal;
Public procedure SetMinDamage(MinDamage: Cardinal);
Public function GetMaxDamage: Cardinal;
Public procedure SetMaxDamage(MaxDamage: Cardinal);
Public function GetAccuracy: Cardinal;
Public procedure SetAccuracy(Accuracy: Cardinal);
Public function GetEvade: Cardinal;
Public procedure SetEvade(Evade: Cardinal);
Public function GetArmor: Cardinal;
Public procedure SetArmor(Armor: Cardinal);
Public function GetReturnDamage: Cardinal;
Public procedure SetReturnDamage(ReturnDamage: Cardinal);
Public function GetStr: Cardinal;
Public procedure SetStr(Str: Cardinal);
Public function GetIntl: Cardinal;
Public procedure SetIntl(Intl: Cardinal);
Public function GetWis: Cardinal;
Public procedure SetWis(Wis: Cardinal);
Public function GetAgi: Cardinal;
Public procedure SetAgi(Agi: Cardinal);
Public function GetCon: Cardinal;
Public procedure SetCon(Con: Cardinal);
Public function GetCha: Cardinal;
Public procedure SetCha(Cha: Cardinal);
Public function GetLightResistance: Cardinal;
Public procedure SetLightResistance(LightResistance: Cardinal);
Public function GetDarkResistance: Cardinal;
Public procedure SetDarkResistance(DarkResistance: Cardinal);
Public function GetEarthResistance: Cardinal;
Public procedure SetEarthResistance(EarthResistance: Cardinal);
Public function GetAirResistance: Cardinal;
Public procedure SetAirResistance(AirResistance: Cardinal);
Public function GetWaterResistance: Cardinal;
Public procedure SetWaterResistance(WaterResistance: Cardinal);
Public function GetFireResistance: Cardinal;
Public procedure SetFireResistance(FireResistance: Cardinal);
Public function GetSpec1: Cardinal;
Public procedure SetSpec1(Spec1: Cardinal);
Public function GetSpec2: Cardinal;
Public procedure SetSpec2(Spec2: Cardinal);
Public function GetSpec3: Cardinal;
Public procedure SetSpec3(Spec3: Cardinal);
Public function GetLevelRequirement: Cardinal;
Public procedure SetLevelRequirement(LevelRequirement: Cardinal);
Public function GetClassRequirement: Cardinal;
Public procedure SetClassRequirement(ClassRequirement: Cardinal);
Public function GetStrRequirement: Cardinal;
Public procedure SetStrRequirement(StrRequirement: Cardinal);
Public function GetIntRequirement: Cardinal;
Public procedure SetIntRequirement(IntRequirement: Cardinal);
Public function GetWisRequirement: Cardinal;
Public procedure SetWisRequirement(WisRequirement: Cardinal);
Public function GetAgiRequirement: Cardinal;
Public procedure SetAgiRequirement(AgiRequirement: Cardinal);
Public function GetConRequirement: Cardinal;
Public procedure SetConRequirement(ConRequirement: Cardinal);
Public function GetChaRequirement: Cardinal;
Public procedure SetChaRequirement(ChaRequirement: Cardinal);
Public function GetElement: TElement;
Public procedure SetElement(Element: TElement);
Public function GetElementDamage: Cardinal;
Public procedure SetElementDamage(ElementDamage: Cardinal);
Public function GetWeight: Cardinal;
Public procedure SetWeight(Weight: Cardinal);
Public function GetSize: TItemSize;
Public procedure SetSize(Size: TItemSize);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TEifRecord;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Name: string read GetName write SetName;
Public property GraphicId: Cardinal read GetGraphicId write SetGraphicId;
Public property Type_: TItemType read GetType write SetType;
Public property Subtype: TItemSubtype read GetSubtype write SetSubtype;
Public property Special: TItemSpecial read GetSpecial write SetSpecial;
Public property Hp: Cardinal read GetHp write SetHp;
Public property Tp: Cardinal read GetTp write SetTp;
Public property MinDamage: Cardinal read GetMinDamage write SetMinDamage;
Public property MaxDamage: Cardinal read GetMaxDamage write SetMaxDamage;
Public property Accuracy: Cardinal read GetAccuracy write SetAccuracy;
Public property Evade: Cardinal read GetEvade write SetEvade;
Public property Armor: Cardinal read GetArmor write SetArmor;
Public property ReturnDamage: Cardinal read GetReturnDamage write SetReturnDamage;
Public property Str: Cardinal read GetStr write SetStr;
Public property Intl: Cardinal read GetIntl write SetIntl;
Public property Wis: Cardinal read GetWis write SetWis;
Public property Agi: Cardinal read GetAgi write SetAgi;
Public property Con: Cardinal read GetCon write SetCon;
Public property Cha: Cardinal read GetCha write SetCha;
Public property LightResistance: Cardinal read GetLightResistance write SetLightResistance;
Public property DarkResistance: Cardinal read GetDarkResistance write SetDarkResistance;
Public property EarthResistance: Cardinal read GetEarthResistance write SetEarthResistance;
Public property AirResistance: Cardinal read GetAirResistance write SetAirResistance;
Public property WaterResistance: Cardinal read GetWaterResistance write SetWaterResistance;
Public property FireResistance: Cardinal read GetFireResistance write SetFireResistance;
Public property Spec1: Cardinal read GetSpec1 write SetSpec1;
Public property Spec2: Cardinal read GetSpec2 write SetSpec2;
Public property Spec3: Cardinal read GetSpec3 write SetSpec3;
Public property LevelRequirement: Cardinal read GetLevelRequirement write SetLevelRequirement;
Public property ClassRequirement: Cardinal read GetClassRequirement write SetClassRequirement;
Public property StrRequirement: Cardinal read GetStrRequirement write SetStrRequirement;
Public property IntRequirement: Cardinal read GetIntRequirement write SetIntRequirement;
Public property WisRequirement: Cardinal read GetWisRequirement write SetWisRequirement;
Public property AgiRequirement: Cardinal read GetAgiRequirement write SetAgiRequirement;
Public property ConRequirement: Cardinal read GetConRequirement write SetConRequirement;
Public property ChaRequirement: Cardinal read GetChaRequirement write SetChaRequirement;
Public property Element: TElement read GetElement write SetElement;
Public property ElementDamage: Cardinal read GetElementDamage write SetElementDamage;
Public property Weight: Cardinal read GetWeight write SetWeight;
Public property Size: TItemSize read GetSize write SetSize;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetName: string;

This item has no description.

Public procedure SetName(Name: string);

This item has no description.

Public function GetGraphicId: Cardinal;

This item has no description.

Public procedure SetGraphicId(GraphicId: Cardinal);

This item has no description.

Public function GetType: TItemType;

This item has no description.

Public procedure SetType(Type_: TItemType);

This item has no description.

Public function GetSubtype: TItemSubtype;

This item has no description.

Public procedure SetSubtype(Subtype: TItemSubtype);

This item has no description.

Public function GetSpecial: TItemSpecial;

This item has no description.

Public procedure SetSpecial(Special: TItemSpecial);

This item has no description.

Public function GetHp: Cardinal;

This item has no description.

Public procedure SetHp(Hp: Cardinal);

This item has no description.

Public function GetTp: Cardinal;

This item has no description.

Public procedure SetTp(Tp: Cardinal);

This item has no description.

Public function GetMinDamage: Cardinal;

This item has no description.

Public procedure SetMinDamage(MinDamage: Cardinal);

This item has no description.

Public function GetMaxDamage: Cardinal;

This item has no description.

Public procedure SetMaxDamage(MaxDamage: Cardinal);

This item has no description.

Public function GetAccuracy: Cardinal;

This item has no description.

Public procedure SetAccuracy(Accuracy: Cardinal);

This item has no description.

Public function GetEvade: Cardinal;

This item has no description.

Public procedure SetEvade(Evade: Cardinal);

This item has no description.

Public function GetArmor: Cardinal;

This item has no description.

Public procedure SetArmor(Armor: Cardinal);

This item has no description.

Public function GetReturnDamage: Cardinal;

This item has no description.

Public procedure SetReturnDamage(ReturnDamage: Cardinal);

This item has no description.

Public function GetStr: Cardinal;

This item has no description.

Public procedure SetStr(Str: Cardinal);

This item has no description.

Public function GetIntl: Cardinal;

This item has no description.

Public procedure SetIntl(Intl: Cardinal);

This item has no description.

Public function GetWis: Cardinal;

This item has no description.

Public procedure SetWis(Wis: Cardinal);

This item has no description.

Public function GetAgi: Cardinal;

This item has no description.

Public procedure SetAgi(Agi: Cardinal);

This item has no description.

Public function GetCon: Cardinal;

This item has no description.

Public procedure SetCon(Con: Cardinal);

This item has no description.

Public function GetCha: Cardinal;

This item has no description.

Public procedure SetCha(Cha: Cardinal);

This item has no description.

Public function GetLightResistance: Cardinal;

This item has no description.

Public procedure SetLightResistance(LightResistance: Cardinal);

This item has no description.

Public function GetDarkResistance: Cardinal;

This item has no description.

Public procedure SetDarkResistance(DarkResistance: Cardinal);

This item has no description.

Public function GetEarthResistance: Cardinal;

This item has no description.

Public procedure SetEarthResistance(EarthResistance: Cardinal);

This item has no description.

Public function GetAirResistance: Cardinal;

This item has no description.

Public procedure SetAirResistance(AirResistance: Cardinal);

This item has no description.

Public function GetWaterResistance: Cardinal;

This item has no description.

Public procedure SetWaterResistance(WaterResistance: Cardinal);

This item has no description.

Public function GetFireResistance: Cardinal;

This item has no description.

Public procedure SetFireResistance(FireResistance: Cardinal);

This item has no description.

Public function GetSpec1: Cardinal;

This item has no description.

Public procedure SetSpec1(Spec1: Cardinal);

This item has no description.

Public function GetSpec2: Cardinal;

This item has no description.

Public procedure SetSpec2(Spec2: Cardinal);

This item has no description.

Public function GetSpec3: Cardinal;

This item has no description.

Public procedure SetSpec3(Spec3: Cardinal);

This item has no description.

Public function GetLevelRequirement: Cardinal;

This item has no description.

Public procedure SetLevelRequirement(LevelRequirement: Cardinal);

This item has no description.

Public function GetClassRequirement: Cardinal;

This item has no description.

Public procedure SetClassRequirement(ClassRequirement: Cardinal);

This item has no description.

Public function GetStrRequirement: Cardinal;

This item has no description.

Public procedure SetStrRequirement(StrRequirement: Cardinal);

This item has no description.

Public function GetIntRequirement: Cardinal;

This item has no description.

Public procedure SetIntRequirement(IntRequirement: Cardinal);

This item has no description.

Public function GetWisRequirement: Cardinal;

This item has no description.

Public procedure SetWisRequirement(WisRequirement: Cardinal);

This item has no description.

Public function GetAgiRequirement: Cardinal;

This item has no description.

Public procedure SetAgiRequirement(AgiRequirement: Cardinal);

This item has no description.

Public function GetConRequirement: Cardinal;

This item has no description.

Public procedure SetConRequirement(ConRequirement: Cardinal);

This item has no description.

Public function GetChaRequirement: Cardinal;

This item has no description.

Public procedure SetChaRequirement(ChaRequirement: Cardinal);

This item has no description.

Public function GetElement: TElement;

This item has no description.

Public procedure SetElement(Element: TElement);

This item has no description.

Public function GetElementDamage: Cardinal;

This item has no description.

Public procedure SetElementDamage(ElementDamage: Cardinal);

This item has no description.

Public function GetWeight: Cardinal;

This item has no description.

Public procedure SetWeight(Weight: Cardinal);

This item has no description.

Public function GetSize: TItemSize;

This item has no description.

Public procedure SetSize(Size: TItemSize);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TEifRecord object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TEifRecord;

Deserializes an instance of TEifRecord 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 Name: string read GetName write SetName;

Note
Length must be 252 or less

Public property GraphicId: Cardinal read GetGraphicId write SetGraphicId;

Note
Value range is 0-64008

Public property Type_: TItemType read GetType write SetType;

This item has no description.

Public property Subtype: TItemSubtype read GetSubtype write SetSubtype;

This item has no description.

Public property Special: TItemSpecial read GetSpecial write SetSpecial;

This item has no description.

Public property Hp: Cardinal read GetHp write SetHp;

Note
Value range is 0-64008

Public property Tp: Cardinal read GetTp write SetTp;

Note
Value range is 0-64008

Public property MinDamage: Cardinal read GetMinDamage write SetMinDamage;

Note
Value range is 0-64008

Public property MaxDamage: Cardinal read GetMaxDamage write SetMaxDamage;

Note
Value range is 0-64008

Public property Accuracy: Cardinal read GetAccuracy write SetAccuracy;

Note
Value range is 0-64008

Public property Evade: Cardinal read GetEvade write SetEvade;

Note
Value range is 0-64008

Public property Armor: Cardinal read GetArmor write SetArmor;

Note
Value range is 0-64008

Public property ReturnDamage: Cardinal read GetReturnDamage write SetReturnDamage;

Note
Value range is 0-252

Public property Str: Cardinal read GetStr write SetStr;

Note
Value range is 0-252

Public property Intl: Cardinal read GetIntl write SetIntl;

Note
Value range is 0-252

Public property Wis: Cardinal read GetWis write SetWis;

Note
Value range is 0-252

Public property Agi: Cardinal read GetAgi write SetAgi;

Note
Value range is 0-252

Public property Con: Cardinal read GetCon write SetCon;

Note
Value range is 0-252

Public property Cha: Cardinal read GetCha write SetCha;

Note
Value range is 0-252

Public property LightResistance: Cardinal read GetLightResistance write SetLightResistance;

Note
Value range is 0-252

Public property DarkResistance: Cardinal read GetDarkResistance write SetDarkResistance;

Note
Value range is 0-252

Public property EarthResistance: Cardinal read GetEarthResistance write SetEarthResistance;

Note
Value range is 0-252

Public property AirResistance: Cardinal read GetAirResistance write SetAirResistance;

Note
Value range is 0-252

Public property WaterResistance: Cardinal read GetWaterResistance write SetWaterResistance;

Note
Value range is 0-252

Public property FireResistance: Cardinal read GetFireResistance write SetFireResistance;

Note
Value range is 0-252

Public property Spec1: Cardinal read GetSpec1 write SetSpec1;

Holds one the following values, depending on item type: scroll_map, doll_graphic, exp_reward, hair_color, effect, key, alcohol_potency

Note
Value range is 0-16194276

Public property Spec2: Cardinal read GetSpec2 write SetSpec2;

Holds one the following values, depending on item type: scroll_x, gender

Note
Value range is 0-252

Public property Spec3: Cardinal read GetSpec3 write SetSpec3;

Holds one the following values, depending on item type: scroll_y

Note
Value range is 0-252

Public property LevelRequirement: Cardinal read GetLevelRequirement write SetLevelRequirement;

Note
Value range is 0-64008

Public property ClassRequirement: Cardinal read GetClassRequirement write SetClassRequirement;

Note
Value range is 0-64008

Public property StrRequirement: Cardinal read GetStrRequirement write SetStrRequirement;

Note
Value range is 0-64008

Public property IntRequirement: Cardinal read GetIntRequirement write SetIntRequirement;

Note
Value range is 0-64008

Public property WisRequirement: Cardinal read GetWisRequirement write SetWisRequirement;

Note
Value range is 0-64008

Public property AgiRequirement: Cardinal read GetAgiRequirement write SetAgiRequirement;

Note
Value range is 0-64008

Public property ConRequirement: Cardinal read GetConRequirement write SetConRequirement;

Note
Value range is 0-64008

Public property ChaRequirement: Cardinal read GetChaRequirement write SetChaRequirement;

Note
Value range is 0-64008

Public property Element: TElement read GetElement write SetElement;

This item has no description.

Public property ElementDamage: Cardinal read GetElementDamage write SetElementDamage;

Note
Value range is 0-252

Public property Weight: Cardinal read GetWeight write SetWeight;

Note
Value range is 0-252

Public property Size: TItemSize read GetSize write SetSize;

This item has no description.


Generated by PasDoc 0.16.0-snapshot.