LeviLamina
Loading...
Searching...
No Matches
AmbientSoundComponent.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Actor;
8class IRandom;
9// clang-format on
10
12public:
13 // member variables
14 // NOLINTBEGIN
15 ::ll::TypedStorage<1, 1, bool> mNeedsInitialization;
16 ::ll::TypedStorage<4, 4, int> mMinimumTimeTicks;
17 ::ll::TypedStorage<4, 4, int> mMaxAdditionalTimeTicks;
18 ::ll::TypedStorage<4, 4, int> mRemainingTimeTicks;
19 // NOLINTEND
20
21public:
22 // member functions
23 // NOLINTBEGIN
24#ifdef LL_PLAT_C
25 MCAPI void decreaseRemainingTimeTicks(int ticks);
26
27 MCAPI void initialize(float mMinimumTimeSeconds, float mMaxAdditionalTimeSeconds, ::IRandom& random);
28
29 MCAPI bool isTimeRemaining() const;
30
31 MCAPI void resetRemainingTime(::IRandom& random);
32#endif
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCAPI static bool
40 extendAmbientSoundRemainingTimeIfBelow(::Actor& owner, float newRemainingTimeSeconds, float belowTimeSeconds);
41#endif
42
43 MCAPI static void setAmbientSoundRemainingTime(::Actor& owner, float seconds);
44 // NOLINTEND
45};
Definition Actor.h:125
Definition AmbientSoundComponent.h:11
Definition IRandom.h:10