mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
55 lines
1.0 KiB
C++
55 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include "reboot.h"
|
|
|
|
struct FAthenaMatchTeamStats
|
|
{
|
|
static UStruct* GetStruct()
|
|
{
|
|
static auto Struct = FindObject<UStruct>(L"/Script/FortniteGame.AthenaMatchTeamStats");
|
|
return Struct;
|
|
}
|
|
|
|
static auto GetStructSize() { return GetStruct()->GetPropertiesSize(); }
|
|
|
|
int Place;
|
|
int TotalPlayers;
|
|
|
|
int& GetPlace()
|
|
{
|
|
return Place;
|
|
}
|
|
|
|
int& GetTotalPlayers()
|
|
{
|
|
return TotalPlayers;
|
|
}
|
|
};
|
|
|
|
class UAthenaPlayerMatchReport : public UObject
|
|
{
|
|
public:
|
|
bool& HasTeamStats()
|
|
{
|
|
static auto bHasTeamStatsOffset = GetOffset("bHasTeamStats");
|
|
return Get<bool>(bHasTeamStatsOffset);
|
|
}
|
|
|
|
bool& HasMatchStats()
|
|
{
|
|
static auto bHasMatchStatsOffset = GetOffset("bHasMatchStats");
|
|
return Get<bool>(bHasMatchStatsOffset);
|
|
}
|
|
|
|
FAthenaMatchTeamStats* GetTeamStats()
|
|
{
|
|
static auto TeamStatsOffset = GetOffset("TeamStats");
|
|
return GetPtr<FAthenaMatchTeamStats>(TeamStatsOffset);
|
|
}
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>(L"/Script/FortniteGame.AthenaPlayerMatchReport");
|
|
return Class;
|
|
}
|
|
}; |