mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 02:42:22 +01:00
16 lines
289 B
C++
16 lines
289 B
C++
#pragma once
|
|
|
|
#include "Actor.h"
|
|
|
|
class AFortWeapon : public AActor
|
|
{
|
|
public:
|
|
template <typename T = class UFortWeaponItemDefinition>
|
|
T* GetWeaponData()
|
|
{
|
|
static auto WeaponDataOffset = GetOffset("WeaponData");
|
|
return Get<T*>(WeaponDataOffset);
|
|
}
|
|
|
|
static UClass* StaticClass();
|
|
}; |