mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-29 09:32:45 +00:00
34 lines
553 B
C++
34 lines
553 B
C++
#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
|