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

Wrapper for LandTexture record, providing info which plugin the LandTexture was loaded from. More...

#include <landtexture.hpp>

Inheritance diagram for CSMWorld::LandTexture:
Collaboration diagram for CSMWorld::LandTexture:

Public Member Functions

void load (ESM::ESMReader &esm, bool &isDeleted)
 
- Public Member Functions inherited from ESM::LandTexture
void load (ESMReader &esm, bool &isDeleted)
 
void save (ESMWriter &esm, bool isDeleted=false) const
 
void blank ()
 Sets the record to the default state. Does not touch the index. Does touch mID. More...
 

Static Public Member Functions

static std::string createUniqueRecordId (int plugin, int index)
 Returns a string identifier that will be unique to any LandTexture. More...
 
static void parseUniqueRecordId (const std::string &id, int &plugin, int &index)
 Deconstructs a unique string identifier into plugin and index. More...
 
- Static Public Member Functions inherited from ESM::LandTexture
static std::string getRecordType ()
 Return a string descriptor for this record type. Currently used for debugging / error logs only. More...
 

Public Attributes

int mPluginIndex
 
- Public Attributes inherited from ESM::LandTexture
std::string mId
 
std::string mTexture
 
int mIndex
 

Additional Inherited Members

- Static Public Attributes inherited from ESM::LandTexture
static unsigned int sRecordId = REC_LTEX
 

Detailed Description

Wrapper for LandTexture record, providing info which plugin the LandTexture was loaded from.

Member Function Documentation

std::string CSMWorld::LandTexture::createUniqueRecordId ( int  plugin,
int  index 
)
static

Returns a string identifier that will be unique to any LandTexture.

Here is the caller graph for this function:

void CSMWorld::LandTexture::load ( ESM::ESMReader esm,
bool isDeleted 
)

Here is the call graph for this function:

void CSMWorld::LandTexture::parseUniqueRecordId ( const std::string &  id,
int plugin,
int index 
)
static

Deconstructs a unique string identifier into plugin and index.

Here is the caller graph for this function:

Member Data Documentation

int CSMWorld::LandTexture::mPluginIndex

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