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