mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
20 lines
487 B
C++
20 lines
487 B
C++
#pragma once
|
|
|
|
#include "PlayerState.h"
|
|
#include "AbilitySystemComponent.h"
|
|
|
|
class AFortPlayerState : public APlayerState
|
|
{
|
|
public:
|
|
UAbilitySystemComponent*& GetAbilitySystemComponent()
|
|
{
|
|
static auto AbilitySystemComponentOffset = GetOffset("AbilitySystemComponent");
|
|
return this->Get<UAbilitySystemComponent*>(AbilitySystemComponentOffset);
|
|
}
|
|
|
|
static UClass* StaticClass()
|
|
{
|
|
static auto Class = FindObject<UClass>("/Script/FortniteGame.FortPlayerState");
|
|
return Class;
|
|
}
|
|
}; |