mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
Add project files.
This commit is contained in:
14
Project Reboot 3.0/FortPlayerState.h
Normal file
14
Project Reboot 3.0/FortPlayerState.h
Normal file
@@ -0,0 +1,14 @@
|
||||
#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);
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user