OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Public Attributes | Static Public Attributes | List of all members
ESM::Faction Struct Reference

#include <loadfact.hpp>

Collaboration diagram for ESM::Faction:

Classes

struct  FADTstruct
 

Public Member Functions

void load (ESMReader &esm, bool &isDeleted)
 
void save (ESMWriter &esm, bool isDeleted=false) const
 
void blank ()
 Set record to default state (does not touch the ID/index). More...
 

Static Public Member Functions

static std::string getRecordType ()
 Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
 

Public Attributes

std::string mId
 
std::string mName
 
FADTstruct mData
 
std::map< std::string, intmReactions
 
std::string mRanks [10]
 

Static Public Attributes

static unsigned int sRecordId = REC_FACT
 

Member Function Documentation

void ESM::Faction::blank ( )

Set record to default state (does not touch the ID/index).

static std::string ESM::Faction::getRecordType ( )
inlinestatic

Return a string descriptor for this record type. Currently used for debugging / error logs only.

void ESM::Faction::load ( ESMReader esm,
bool isDeleted 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void ESM::Faction::save ( ESMWriter esm,
bool  isDeleted = false 
) const

Here is the call graph for this function:

Member Data Documentation

FADTstruct ESM::Faction::mData
std::string ESM::Faction::mId
std::string ESM::Faction::mName
std::string ESM::Faction::mRanks[10]
std::map<std::string, int> ESM::Faction::mReactions
unsigned int ESM::Faction::sRecordId = REC_FACT
static

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