1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00
OpenMW/components/esm/creaturelevliststate.hpp

30 lines
638 B
C++

#ifndef OPENMW_ESM_CREATURELEVLISTSTATE_H
#define OPENMW_ESM_CREATURELEVLISTSTATE_H
#include "objectstate.hpp"
namespace ESM
{
// format 0, saved games only
struct CreatureLevListState final : public ObjectState
{
int mSpawnActorId;
bool mSpawn;
void load (ESMReader &esm) final;
void save (ESMWriter &esm, bool inInventory = false) const final;
CreatureLevListState& asCreatureLevListState() final
{
return *this;
}
const CreatureLevListState& asCreatureLevListState() const final
{
return *this;
}
};
}
#endif