mirror of
https://github.com/Auties00/Reboot-Launcher.git
synced 2026-01-14 11:39:17 +01:00
<feat: New project structure>
<feat: New release>
This commit is contained in:
31
dependencies/reboot/Project Reboot 3.0/FortPlayerState.h
vendored
Normal file
31
dependencies/reboot/Project Reboot 3.0/FortPlayerState.h
vendored
Normal file
@@ -0,0 +1,31 @@
|
||||
#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;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user