mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
almost finish rebooting (im going insane), performance, increase llama spawn radius, remove auto restart for a little bit
29 lines
739 B
C++
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;
|
|
}
|
|
}; |