F4MP/tiltedcode/Code/client/Games/Skyrim/Misc/NativeFunction.h

19 lines
434 B
C
Raw Normal View History

#pragma once
#include <Misc/BSFixedString.h>
struct NativeFunction
{
virtual ~NativeFunction() = 0;
void* pad8;
BSFixedString functionName;
BSFixedString typeName;
uint8_t pad20[0x50 - 0x20];
void* functionAddress;
};
static_assert(offsetof(NativeFunction, functionName) == 0x10);
static_assert(offsetof(NativeFunction, typeName) == 0x18);
static_assert(offsetof(NativeFunction, functionAddress) == 0x50);