<feat: New project structure>

<feat: New release>
This commit is contained in:
Alessandro Autiero
2023-09-02 15:34:15 +02:00
parent 64b33102f4
commit b41e22adeb
953 changed files with 1373072 additions and 0 deletions

View 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;
}
};