mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
124 files changed.
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#include "GameState.h"
|
||||
#include "FortPlayerState.h"
|
||||
#include "FortPlaylist.h"
|
||||
#include "BuildingStructuralSupportSystem.h"
|
||||
|
||||
enum class EAthenaGamePhase : uint8_t
|
||||
{
|
||||
@@ -16,6 +17,11 @@ enum class EAthenaGamePhase : uint8_t
|
||||
EAthenaGamePhase_MAX = 7
|
||||
};
|
||||
|
||||
struct FPlayerBuildableClassContainer
|
||||
{
|
||||
TArray<UClass*> BuildingClasses; // 0x0000(0x0010) (ZeroConstructor, Transient, UObjectWrapper, NativeAccessSpecifierPublic)
|
||||
};
|
||||
|
||||
class AFortGameStateAthena : public AGameState
|
||||
{
|
||||
public:
|
||||
@@ -31,12 +37,25 @@ public:
|
||||
return Get<EAthenaGamePhase>(GamePhaseOffset);
|
||||
}
|
||||
|
||||
UBuildingStructuralSupportSystem* GetStructuralSupportSystem() // actually in FortGameModeZone
|
||||
{
|
||||
static auto StructuralSupportSystemOffset = GetOffset("StructuralSupportSystem");
|
||||
return Get<UBuildingStructuralSupportSystem*>(StructuralSupportSystemOffset);
|
||||
}
|
||||
|
||||
FPlayerBuildableClassContainer*& GetPlayerBuildableClasses()
|
||||
{
|
||||
static auto PlayerBuildableClassesOffset = GetOffset("PlayerBuildableClasses");
|
||||
return Get<FPlayerBuildableClassContainer*>(PlayerBuildableClassesOffset);
|
||||
}
|
||||
|
||||
UFortPlaylist*& GetCurrentPlaylist();
|
||||
|
||||
// void AddPlayerStateToGameMemberInfo(class AFortPlayerStateAthena* PlayerState);
|
||||
|
||||
int GetAircraftIndex(AFortPlayerState* PlayerState);
|
||||
bool IsRespawningAllowed(AFortPlayerState* PlayerState); // actually in zone
|
||||
bool IsPlayerBuildableClass(UClass* Class);
|
||||
void OnRep_GamePhase();
|
||||
void OnRep_CurrentPlaylistInfo();
|
||||
};
|
||||
Reference in New Issue
Block a user