EIF Class Reference

Loads and stores information on all items from an EIF file. More...

#include <eodata.hpp>

Collaboration diagram for EIF:

Collaboration graph
[legend]

List of all members.

Public Types

enum  Type {
  Static, UnknownType1, Money, Heal,
  Teleport, Spell, EXPReward, StatReward,
  SkillReward, Key, Weapon, Shield,
  Armor, Hat, Boots, Gloves,
  Accessory, Belt, Necklace, Ring,
  Armlet, Bracer, Beer, EffectPotion,
  HairDye, OtherPotion, CureCurse, UnknownType3,
  UnknownType4, UnknownType5, UnknownType6
}
enum  Special {
  Normal, Rare, UnknownSpecial2, Unique,
  Lore, Cursed
}

Public Member Functions

 EIF (std::string filename)
EIF_DataGet (unsigned int id)

Public Attributes

unsigned char rid [4]
unsigned char len [2]
std::vector< EIF_Datadata
EIF_Datanulldata

Static Public Attributes

static const int DATA_SIZE = 58


Detailed Description

Loads and stores information on all items from an EIF file.

Member Enumeration Documentation

enum EIF::Type

Enumerator:
Static 
UnknownType1 
Money 
Heal 
Teleport 
Spell 
EXPReward 
StatReward 
SkillReward 
Key 
Weapon 
Shield 
Armor 
Hat 
Boots 
Gloves 
Accessory 
Belt 
Necklace 
Ring 
Armlet 
Bracer 
Beer 
EffectPotion 
HairDye 
OtherPotion 
CureCurse 
UnknownType3 
UnknownType4 
UnknownType5 
UnknownType6 

Enumerator:
Normal 
Rare 
UnknownSpecial2 
Unique 
Lore 
Cursed 


Constructor & Destructor Documentation

EIF::EIF ( std::string  filename  ) 


Member Function Documentation

EIF_Data * EIF::Get ( unsigned int  id  ) 


Member Data Documentation

const int EIF::DATA_SIZE = 58 [static]

unsigned char EIF::rid[4]

unsigned char EIF::len[2]

std::vector<EIF_Data> EIF::data


The documentation for this class was generated from the following files:

Generated on Sun Apr 5 20:28:21 2009 for EOServ by  doxygen 1.5.7.1