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

#include <loadcont.hpp>

Collaboration diagram for ESM::Container:

Public Types

enum  Flags { Organic = 1, Respawn = 2, Unknown = 8 }
 

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

std::string mId
 
std::string mName
 
std::string mModel
 
std::string mScript
 
float mWeight
 
int mFlags
 
InventoryList mInventory
 

Static Public Attributes

static unsigned int sRecordId = REC_CONT
 

Member Enumeration Documentation

Enumerator
Organic 
Respawn 
Unknown 

Member Function Documentation

void ESM::Container::blank ( )

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

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

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

int ESM::Container::mFlags
std::string ESM::Container::mId
InventoryList ESM::Container::mInventory
std::string ESM::Container::mModel
std::string ESM::Container::mName
std::string ESM::Container::mScript
float ESM::Container::mWeight
unsigned int ESM::Container::sRecordId = REC_CONT
static

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