You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
553 B
C++
34 lines
553 B
C++
11 years ago
|
#ifndef COMPONENTS_ESM_DEBUGPROFILE_H
|
||
|
#define COMPONENTS_ESM_DEBUGPROFILE_H
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
namespace ESM
|
||
|
{
|
||
|
class ESMReader;
|
||
|
class ESMWriter;
|
||
|
|
||
|
struct DebugProfile
|
||
|
{
|
||
|
static unsigned int sRecordId;
|
||
|
|
||
|
std::string mId;
|
||
|
|
||
|
std::string mDescription;
|
||
|
|
||
|
std::string mScript;
|
||
|
|
||
|
bool mDefault;
|
||
|
|
||
|
bool mBypassNewGame;
|
||
|
|
||
|
void load (ESMReader& esm);
|
||
|
void save (ESMWriter& esm) const;
|
||
|
|
||
|
/// Set record to default state (does not touch the ID).
|
||
|
void blank();
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|