2023-04-27 22:19:39 -04:00
|
|
|
#ifndef MXVARIABLETABLE_H
|
|
|
|
#define MXVARIABLETABLE_H
|
|
|
|
|
2023-08-03 20:13:41 -04:00
|
|
|
#include "mxhashtable.h"
|
2023-10-24 19:38:27 -04:00
|
|
|
#include "mxtypes.h"
|
2023-08-03 20:13:41 -04:00
|
|
|
#include "mxvariable.h"
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc1c8
|
2023-06-29 04:10:08 -04:00
|
|
|
// SIZE 0x28
|
2023-11-12 19:25:56 -05:00
|
|
|
class MxVariableTable : public MxHashTable<MxVariable*> {
|
2023-04-27 22:19:39 -04:00
|
|
|
public:
|
2023-10-24 19:38:27 -04:00
|
|
|
MxVariableTable() { m_customDestructor = Destroy; }
|
2023-11-12 19:25:56 -05:00
|
|
|
__declspec(dllexport) void SetVariable(const char* p_key, const char* p_value);
|
|
|
|
__declspec(dllexport) void SetVariable(MxVariable* p_var);
|
|
|
|
__declspec(dllexport) const char* GetVariable(const char* p_key);
|
2023-08-03 20:13:41 -04:00
|
|
|
|
2023-10-24 19:38:27 -04:00
|
|
|
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
2023-08-03 20:13:41 -04:00
|
|
|
|
2023-11-19 07:23:30 -05:00
|
|
|
virtual MxS8 Compare(MxVariable*, MxVariable*) override; // vtable+0x14
|
|
|
|
virtual MxU32 Hash(MxVariable*) override; // vtable+0x18
|
2023-04-27 22:19:39 -04:00
|
|
|
};
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc1b0
|
2023-11-12 19:25:56 -05:00
|
|
|
// class MxCollection<MxVariable *>
|
|
|
|
|
2023-12-06 07:10:45 -05:00
|
|
|
// VTABLE: LEGO1 0x100dc1e8
|
2023-11-12 19:25:56 -05:00
|
|
|
// class MxHashTable<MxVariable *>
|
2023-10-25 14:32:51 -04:00
|
|
|
|
2023-04-27 22:19:39 -04:00
|
|
|
#endif // MXVARIABLETABLE_H
|