mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
fixed respawning on pre s6, fixed a crash for some s5 builds, work on ai a bit, start on blueprint decompiler
31 lines
767 B
C++
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;
|
|
}
|
|
}; |