1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-15 17:49:55 +00:00
openmw-tes3mp/components/esm/creaturelevliststate.hpp
2020-03-17 15:18:40 +04:00

29 lines
640 B
C++

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