2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXVARIABLETABLE_H
|
|
|
|
#define MXVARIABLETABLE_H
|
|
|
|
|
2023-08-03 20:13:41 -04:00
|
|
|
#include "mxtypes.h"
|
|
|
|
#include "mxhashtable.h"
|
|
|
|
#include "mxvariable.h"
|
|
|
|
|
2023-06-11 21:03:54 -04:00
|
|
|
|
2023-06-29 04:10:08 -04:00
|
|
|
// VTABLE 0x100dc1c8
|
|
|
|
// SIZE 0x28
|
2023-08-03 20:13:41 -04:00
|
|
|
class MxVariableTable : public MxHashTable<MxVariable>
|
2023-04-27 22:19:39 -04:00
|
|
|
{
|
|
|
|
public:
|
2023-08-03 20:13:41 -04:00
|
|
|
MxVariableTable() {
|
|
|
|
m_customDestructor = Destroy;
|
|
|
|
}
|
2023-04-27 22:19:39 -04:00
|
|
|
__declspec(dllexport) void SetVariable(const char *key, const char *value);
|
2023-08-03 20:13:41 -04:00
|
|
|
__declspec(dllexport) void SetVariable(MxVariable *var);
|
|
|
|
__declspec(dllexport) const char * GetVariable(const char *key);
|
|
|
|
|
|
|
|
// OFFSET: LEGO1 0x100afdb0
|
|
|
|
static void Destroy(MxVariable *p_obj) { p_obj->Destroy(); }
|
|
|
|
|
|
|
|
virtual MxS8 Compare(MxVariable *, MxVariable *); // +0x14
|
|
|
|
virtual MxU32 Hash(MxVariable *); // +0x18
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // MXVARIABLETABLE_H
|