17class WardenSpawnTrackerComponent {
21 ::ll::TypedStorage<4, 4, int> mThreatLevel;
22 ::ll::TypedStorage<4, 4, int> mThreatLevelIncreaseCooldown;
23 ::ll::TypedStorage<4, 4, int> mThreatLevelDecreaseTimer;
29 MCAPI WardenSpawnTrackerComponent();
33 MCAPI
bool canIncreaseThreatLevel()
const;
35 MCFOLD
void copyDataFrom(::WardenSpawnTrackerComponent
const& copyFrom);
41 MCAPI
int tryIncreaseThreatLevel();
47 MCAPI static ::std::optional<::SharedTypes::Legacy::LevelSoundEvent> getSoundEventForThreatLevel(
int threatLevel);