mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 19:02:21 +01:00
19 lines
428 B
C++
19 lines
428 B
C++
#pragma once
|
|
|
|
#include "Pawn.h"
|
|
#include "FortWeapon.h"
|
|
#include "FortWeaponItemDefinition.h"
|
|
|
|
class AFortPawn : public APawn
|
|
{
|
|
public:
|
|
AFortWeapon* EquipWeaponDefinition(UFortWeaponItemDefinition* WeaponData, const FGuid& ItemEntryGuid);
|
|
|
|
AFortWeapon*& GetCurrentWeapon()
|
|
{
|
|
static auto CurrentWeaponOffset = GetOffset("CurrentWeapon");
|
|
return Get<AFortWeapon*>(CurrentWeaponOffset);
|
|
}
|
|
|
|
static UClass* StaticClass();
|
|
}; |