22 ::ll::TypedStorage<8, 216, ::std::array<::MobEvent, 3>> mMobEvents;
23 ::ll::TypedStorage<8, 80, ::BasicTimer> mSaveTimer;
24 ::ll::TypedStorage<8, 8, ::LevelStorage&> mLevelStorage;
25 ::ll::TypedStorage<1, 1, bool> mEventsEnabled;
26 ::ll::TypedStorage<1, 1, bool> mNeedsToSave;
27 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnSaveSubscription;
28 ::ll::TypedStorage<8, 16, ::Bedrock::PubSub::Subscription> mOnLevelStorageManagerStartLeaveGameSubscription;
33 MobEvents& operator=(MobEvents
const&);
34 MobEvents(MobEvents
const&);
40 virtual ~MobEvents() =
default;
50 MCAPI ::MobEventsIndex getIndexFromName(::std::string
const& name)
const;
55 MCAPI
void readFromLevelStorage();
57 MCAPI ::std::unique_ptr<::CompoundTag> serialize()
const;
59 MCAPI
void writeToLevelStorage();
65 MCAPI static ::std::string
const& EVENTS_ENABLED_STRING();