mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 02:40:53 +01:00
18 lines
434 B
C
18 lines
434 B
C
#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);
|