mirror of
https://github.com/Jous99/F4MP.git
synced 2026-01-13 00:40:53 +01:00
27 lines
539 B
C
27 lines
539 B
C
#pragma once
|
|
|
|
#include <Misc/BSFixedString.h>
|
|
|
|
#pragma pack(push, 1) // This structure is packed in havok
|
|
|
|
struct hkHashTable
|
|
{
|
|
struct Entry
|
|
{
|
|
BSFixedString key;
|
|
int32_t value;
|
|
uint32_t padC;
|
|
Entry* next;
|
|
};
|
|
|
|
uint32_t bucketCount; // 0
|
|
uint8_t pad4[0xC - 0x4]; // 4
|
|
void* end; // C
|
|
uint8_t pad[0x1C - 0x14];
|
|
Entry* buckets; // 1C
|
|
};
|
|
|
|
static_assert(offsetof(hkHashTable, end) == 0xC);
|
|
static_assert(offsetof(hkHashTable, buckets) == 0x1C);
|
|
|
|
#pragma pack(pop)
|