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