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

#include <loadligh.hpp>

Collaboration diagram for ESM::Light:

Classes

struct  LHDTstruct
 

Public Types

enum  Flags {
  Dynamic = 0x001, Carry = 0x002, Negative = 0x004, Flicker = 0x008,
  Fire = 0x010, OffDefault = 0x020, FlickerSlow = 0x040, Pulse = 0x080,
  PulseSlow = 0x100
}
 

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

LHDTstruct mData
 
std::string mSound
 
std::string mScript
 
std::string mModel
 
std::string mIcon
 
std::string mName
 
std::string mId
 

Static Public Attributes

static unsigned int sRecordId = REC_LIGH
 

Member Enumeration Documentation

Enumerator
Dynamic 
Carry 
Negative 
Flicker 
Fire 
OffDefault 
FlickerSlow 
Pulse 
PulseSlow 

Member Function Documentation

void ESM::Light::blank ( )

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

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

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

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

Here is the call graph for this function:

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

Here is the call graph for this function:

Member Data Documentation

LHDTstruct ESM::Light::mData
std::string ESM::Light::mIcon
std::string ESM::Light::mId
std::string ESM::Light::mModel
std::string ESM::Light::mName
std::string ESM::Light::mScript
std::string ESM::Light::mSound
unsigned int ESM::Light::sRecordId = REC_LIGH
static

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