LeviLamina
Loading...
Searching...
No Matches
TimerComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/util/WeightedChoices.h"
7
8// auto generated forward declare list
9// clang-format off
10class Actor;
11class CompoundTag;
12class DataLoadHelper;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 4, int> mTime;
20 ::ll::TypedStorage<8, 8, uint64> mTimeStamp;
21 ::ll::TypedStorage<1, 1, bool> mHasExecuted;
22 ::ll::TypedStorage<1, 1, bool> mLooping;
23 ::ll::TypedStorage<4, 4, int> mStartTime;
24 ::ll::TypedStorage<1, 1, bool> mRandomInterval;
25 ::ll::TypedStorage<4, 4, int> mMinTime;
26 ::ll::TypedStorage<4, 4, int> mMaxTime;
27 ::ll::TypedStorage<8, 24, ::WeightedChoices<float>> mTimeChoices;
28 // NOLINTEND
29
30public:
31 // member functions
32 // NOLINTBEGIN
33 MCAPI void addAdditionalSaveData(::CompoundTag& tag) const;
34
35 MCAPI void readAdditionalSaveData(::Actor&, ::CompoundTag const& tag, ::DataLoadHelper&);
36
37 MCAPI void restartTimer(::Actor& actor);
38 // NOLINTEND
39};
Definition Actor.h:113
Definition CompoundTag.h:18
Definition DataLoadHelper.h:20
Definition TimerComponent.h:15