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::Book Struct Reference

#include <loadbook.hpp>

Collaboration diagram for ESM::Book:

Classes

struct  BKDTstruct
 

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). 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

BKDTstruct mData
 
std::string mName
 
std::string mModel
 
std::string mIcon
 
std::string mScript
 
std::string mEnchant
 
std::string mText
 
std::string mId
 

Static Public Attributes

static unsigned int sRecordId = REC_BOOK
 

Member Function Documentation

void ESM::Book::blank ( )

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

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

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

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

BKDTstruct ESM::Book::mData
std::string ESM::Book::mEnchant
std::string ESM::Book::mIcon
std::string ESM::Book::mId
std::string ESM::Book::mModel
std::string ESM::Book::mName
std::string ESM::Book::mScript
std::string ESM::Book::mText
unsigned int ESM::Book::sRecordId = REC_BOOK
static

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