liblcf
RawStruct< RPG::Equipment > Struct Template Reference
+ Collaboration diagram for RawStruct< RPG::Equipment >:

Static Public Member Functions

static void ReadLcf (RPG::Equipment &ref, LcfReader &stream, uint32_t length)
 
static void WriteLcf (const RPG::Equipment &ref, LcfWriter &stream)
 
static int LcfSize (const RPG::Equipment &ref, LcfWriter &stream)
 
static void WriteXml (const RPG::Equipment &ref, XmlWriter &stream)
 
static void BeginXml (RPG::Equipment &ref, XmlReader &stream)
 

Detailed Description

template<>
struct RawStruct< RPG::Equipment >

Definition at line 15 of file ldb_equipment.cpp.

Member Function Documentation

◆ BeginXml()

void RawStruct< RPG::Equipment >::BeginXml ( RPG::Equipment ref,
XmlReader stream 
)
static

Definition at line 99 of file ldb_equipment.cpp.

References XmlReader::SetHandler().

+ Here is the call graph for this function:

◆ LcfSize()

int RawStruct< RPG::Equipment >::LcfSize ( const RPG::Equipment ref,
LcfWriter stream 
)
static

Definition at line 54 of file ldb_equipment.cpp.

◆ ReadLcf()

void RawStruct< RPG::Equipment >::ReadLcf ( RPG::Equipment ref,
LcfReader stream,
uint32_t  length 
)
static

Reads Equipment.

Definition at line 26 of file ldb_equipment.cpp.

References RPG::Equipment::accessory_id, RPG::Equipment::armor_id, RPG::Equipment::helmet_id, LcfReader::Chunk::ID, LcfReader::Chunk::length, LcfReader::Read(), RPG::Equipment::shield_id, LcfReader::Skip(), and RPG::Equipment::weapon_id.

+ Here is the call graph for this function:

◆ WriteLcf()

void RawStruct< RPG::Equipment >::WriteLcf ( const RPG::Equipment ref,
LcfWriter stream 
)
static

Definition at line 46 of file ldb_equipment.cpp.

References RPG::Equipment::accessory_id, RPG::Equipment::armor_id, RPG::Equipment::helmet_id, RPG::Equipment::shield_id, RPG::Equipment::weapon_id, and LcfWriter::Write().

+ Here is the call graph for this function:

◆ WriteXml()

void RawStruct< RPG::Equipment >::WriteXml ( const RPG::Equipment ref,
XmlWriter stream 
)
static

Definition at line 58 of file ldb_equipment.cpp.

References RPG::Equipment::accessory_id, RPG::Equipment::armor_id, XmlWriter::BeginElement(), XmlWriter::EndElement(), RPG::Equipment::helmet_id, RPG::Equipment::shield_id, RPG::Equipment::weapon_id, and XmlWriter::WriteNode().

+ Here is the call graph for this function:

The documentation for this struct was generated from the following file: