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