Class TEnfRecord

Unit

Declaration

type TEnfRecord = class(TInterfacedObject, IEnfRecord)

Description

Record of NPC data in an Endless NPC 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 _GetRace: Cardinal;
Public procedure _SetRace(Race: Cardinal);
Public function _GetBoss: Boolean;
Public procedure _SetBoss(Boss: Boolean);
Public function _GetChild: Boolean;
Public procedure _SetChild(Child: Boolean);
Public function _GetType: TNpcType;
Public procedure _SetType(Type_: TNpcType);
Public function _GetBehaviorId: Cardinal;
Public procedure _SetBehaviorId(BehaviorId: Cardinal);
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 _GetElement: TElement;
Public procedure _SetElement(Element: TElement);
Public function _GetElementDamage: Cardinal;
Public procedure _SetElementDamage(ElementDamage: Cardinal);
Public function _GetElementWeakness: TElement;
Public procedure _SetElementWeakness(ElementWeakness: TElement);
Public function _GetElementWeaknessDamage: Cardinal;
Public procedure _SetElementWeaknessDamage(ElementWeaknessDamage: Cardinal);
Public function _GetLevel: Cardinal;
Public procedure _SetLevel(Level: Cardinal);
Public function _GetExperience: Cardinal;
Public procedure _SetExperience(Experience: Cardinal);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TEnfRecord;

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 Race: Cardinal read _GetRace write _SetRace;
Public property Boss: Boolean read _GetBoss write _SetBoss;
Public property Child: Boolean read _GetChild write _SetChild;
Public property Type_: TNpcType read _GetType write _SetType;
Public property BehaviorId: Cardinal read _GetBehaviorId write _SetBehaviorId;
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 Element: TElement read _GetElement write _SetElement;
Public property ElementDamage: Cardinal read _GetElementDamage write _SetElementDamage;
Public property ElementWeakness: TElement read _GetElementWeakness write _SetElementWeakness;
Public property ElementWeaknessDamage: Cardinal read _GetElementWeaknessDamage write _SetElementWeaknessDamage;
Public property Level: Cardinal read _GetLevel write _SetLevel;
Public property Experience: Cardinal read _GetExperience write _SetExperience;

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 _GetRace: Cardinal;

This item has no description.

Public procedure _SetRace(Race: Cardinal);

This item has no description.

Public function _GetBoss: Boolean;

This item has no description.

Public procedure _SetBoss(Boss: Boolean);

This item has no description.

Public function _GetChild: Boolean;

This item has no description.

Public procedure _SetChild(Child: Boolean);

This item has no description.

Public function _GetType: TNpcType;

This item has no description.

Public procedure _SetType(Type_: TNpcType);

This item has no description.

Public function _GetBehaviorId: Cardinal;

This item has no description.

Public procedure _SetBehaviorId(BehaviorId: Cardinal);

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 _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 _GetElementWeakness: TElement;

This item has no description.

Public procedure _SetElementWeakness(ElementWeakness: TElement);

This item has no description.

Public function _GetElementWeaknessDamage: Cardinal;

This item has no description.

Public procedure _SetElementWeaknessDamage(ElementWeaknessDamage: Cardinal);

This item has no description.

Public function _GetLevel: Cardinal;

This item has no description.

Public procedure _SetLevel(Level: Cardinal);

This item has no description.

Public function _GetExperience: Cardinal;

This item has no description.

Public procedure _SetExperience(Experience: Cardinal);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TEnfRecord object to the provided TEoWriter.

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

Deserializes an instance of TEnfRecord 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 Race: Cardinal read _GetRace write _SetRace;

Note
Value range is 0-252

Public property Boss: Boolean read _GetBoss write _SetBoss;

This item has no description.

Public property Child: Boolean read _GetChild write _SetChild;

This item has no description.

Public property Type_: TNpcType read _GetType write _SetType;

This item has no description.

Public property BehaviorId: Cardinal read _GetBehaviorId write _SetBehaviorId;

Note
Value range is 0-64008

Public property Hp: Cardinal read _GetHp write _SetHp;

Note
Value range is 0-16194276

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 Element: TElement read _GetElement write _SetElement;

This item has no description.

Public property ElementDamage: Cardinal read _GetElementDamage write _SetElementDamage;

Note
Value range is 0-64008

Public property ElementWeakness: TElement read _GetElementWeakness write _SetElementWeakness;

This item has no description.

Public property ElementWeaknessDamage: Cardinal read _GetElementWeaknessDamage write _SetElementWeaknessDamage;

Note
Value range is 0-64008

Public property Level: Cardinal read _GetLevel write _SetLevel;

Note
Value range is 0-252

Public property Experience: Cardinal read _GetExperience write _SetExperience;

Note
Value range is 0-16194276


Generated by PasDoc 0.16.0-snapshot.