Files
Project-Reboot-3.0/Project Reboot 3.0/FortPlayerState.h
Milxnor 1da6822119 Reboot Living up to its name
almost finish rebooting (im going insane), performance, increase llama spawn radius, remove auto restart for a little bit
2023-05-13 19:46:50 -04:00

29 lines
739 B
C++

#pragma once
#include "OnlineReplStructs.h"
#include "PlayerState.h"
#include "AbilitySystemComponent.h"
class AFortPlayerState : public APlayerState
{
public:
UAbilitySystemComponent*& GetAbilitySystemComponent()
{
static auto AbilitySystemComponentOffset = GetOffset("AbilitySystemComponent");
return this->Get<UAbilitySystemComponent*>(AbilitySystemComponentOffset);
}
int& GetWorldPlayerId()
{
static auto WorldPlayerIdOffset = GetOffset("WorldPlayerId");
return this->Get<int>(WorldPlayerIdOffset);
}
static bool AreUniqueIDsIdentical(FUniqueNetIdRepl* A, FUniqueNetIdRepl* B);
static UClass* StaticClass()
{
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortPlayerState");
return Class;
}
};