mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
disable rebooting again
fixed looting bug, fixed parachute not auto deploying on some builds
This commit is contained in:
55
Project Reboot 3.0/AthenaPlayerMatchReport.h
Normal file
55
Project Reboot 3.0/AthenaPlayerMatchReport.h
Normal file
@@ -0,0 +1,55 @@
|
||||
#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; // 0x0000(0x0004) (Edit, BlueprintVisible, BlueprintReadOnly, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
||||
int TotalPlayers; // 0x0004(0x0004) (Edit, BlueprintVisible, BlueprintReadOnly, ZeroConstructor, IsPlainOldData, NoDestructor, HasGetValueTypeHash, NativeAccessSpecifierPublic)
|
||||
|
||||
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>("/Script/FortniteGame.AthenaPlayerMatchReport");
|
||||
return Class;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user