Reboot Living up to its name

almost finish rebooting (im going insane), performance, increase llama spawn radius, remove auto restart for a little bit
This commit is contained in:
Milxnor
2023-05-13 19:46:50 -04:00
parent 2335ad43a3
commit 1da6822119
31 changed files with 684 additions and 64 deletions

View File

@@ -247,10 +247,29 @@ void AFortGameStateAthena::OnRep_CurrentPlaylistInfo()
void AFortGameStateAthena::OnRep_PlayersLeft()
{
static auto OnRep_PlayersLeftFn = FindObject<UFunction>("/Script/FortniteGame.FortGameStateAthena.OnRep_PlayersLeft");
static auto OnRep_PlayersLeftFn = FindObject<UFunction>(L"/Script/FortniteGame.FortGameStateAthena.OnRep_PlayersLeft");
if (!OnRep_PlayersLeftFn)
return;
this->ProcessEvent(OnRep_PlayersLeftFn);
}
TeamsArrayContainer* AFortGameStateAthena::GetTeamsArrayContainer()
{
static auto FriendlyFireTypeOffset = GetOffset("FriendlyFireType");
static int Offset = -1;
if (Offset == -1)
{
Offset = FriendlyFireTypeOffset + 0x5;
}
return Offset != -1 ? (TeamsArrayContainer*)(__int64(this) + Offset) : nullptr;
}
UClass* AFortGameStateAthena::StaticClass()
{
static auto Class = FindObject<UClass>(L"/Script/FortniteGame.FortGameStateAthena");
return Class;
}