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;
11// clang-format on
12
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<4, 4, int> mTime;
18 ::ll::TypedStorage<8, 8, uint64> mTimeStamp;
19 ::ll::TypedStorage<1, 1, bool> mHasExecuted;
20 ::ll::TypedStorage<1, 1, bool> mLooping;
21 ::ll::TypedStorage<4, 4, int> mStartTime;
22 ::ll::TypedStorage<1, 1, bool> mRandomInterval;
23 ::ll::TypedStorage<4, 4, int> mMinTime;
24 ::ll::TypedStorage<4, 4, int> mMaxTime;
25 ::ll::TypedStorage<8, 24, ::WeightedChoices<float>> mTimeChoices;
26 // NOLINTEND
27
28public:
29 // prevent constructor by default
30 TimerComponent& operator=(TimerComponent const&);
32
33public:
34 // member functions
35 // NOLINTBEGIN
36 MCAPI int getRandomTime(::Actor& actor);
37
38 MCAPI ::TimerComponent& operator=(::TimerComponent&&);
39 // NOLINTEND
40};
Definition Actor.h:104
Definition TimerComponent.h:13