Files
Reboot-Launcher/dependencies/reboot/Project Reboot 3.0/FortPlayerState.h
Alessandro Autiero b41e22adeb <feat: New project structure>
<feat: New release>
2023-09-02 15:34:15 +02:00

31 lines
767 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);
}
void EndDBNOAbilities();
static bool AreUniqueIDsIdentical(FUniqueNetIdRepl* A, FUniqueNetIdRepl* B);
static UClass* StaticClass()
{
static auto Class = FindObject<UClass>(L"/Script/FortniteGame.FortPlayerState");
return Class;
}
};