mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-13 11:12:23 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
34
dependencies/reboot/Project Reboot 3.0/FortSafeZoneIndicator.h
vendored
Normal file
34
dependencies/reboot/Project Reboot 3.0/FortSafeZoneIndicator.h
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
#pragma once
|
||||
|
||||
#include "Actor.h"
|
||||
|
||||
enum class EFortSafeZoneState : uint8_t
|
||||
{
|
||||
None = 0,
|
||||
Starting = 1,
|
||||
Holding = 2,
|
||||
Shrinking = 3,
|
||||
EFortSafeZoneState_MAX = 4
|
||||
};
|
||||
|
||||
class AFortSafeZoneIndicator : public AActor
|
||||
{
|
||||
public:
|
||||
static inline void (*OnSafeZoneStateChangeOriginal)(AFortSafeZoneIndicator* SafeZoneIndicator, EFortSafeZoneState NewState, bool bInitial);
|
||||
|
||||
float& GetSafeZoneStartShrinkTime()
|
||||
{
|
||||
static auto SafeZoneStartShrinkTimeOffset = GetOffset("SafeZoneStartShrinkTime");
|
||||
return Get<float>(SafeZoneStartShrinkTimeOffset);
|
||||
}
|
||||
|
||||
float& GetSafeZoneFinishShrinkTime()
|
||||
{
|
||||
static auto SafeZoneFinishShrinkTimeOffset = GetOffset("SafeZoneFinishShrinkTime");
|
||||
return Get<float>(SafeZoneFinishShrinkTimeOffset);
|
||||
}
|
||||
|
||||
void SkipShrinkSafeZone();
|
||||
|
||||
static void OnSafeZoneStateChangeHook(AFortSafeZoneIndicator* SafeZoneIndicator, EFortSafeZoneState NewState, bool bInitial);
|
||||
};
|
||||
Reference in New Issue
Block a user