mirror of
https://github.com/isledecomp/isle-portable.git
synced 2024-11-26 17:36:12 -05:00
bc5ca621a4
* Add ncc tool * Add symlink * Fixes * Try this * Try this * Try this * Try this * Add include path * Update style * Update style * Add more rules * Fix style * Update styles * Fix name parameter * Fix MxParam p * Fix m_unk0x pattern * Allow 4 digits for relative hex * Add missing offset * Fix some parameters * Fix some vtables * Fix more vtables * Update rules, fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * More fixes * Fix last issue * Update readme * Update readme * Update CONTRIBUTING.md * Fix annotations * Rename * Update CONTRIBUTING.md * Update README.md
59 lines
1.6 KiB
C++
59 lines
1.6 KiB
C++
#ifndef MXVARIABLETABLE_H
|
|
#define MXVARIABLETABLE_H
|
|
|
|
#include "mxhashtable.h"
|
|
#include "mxtypes.h"
|
|
#include "mxvariable.h"
|
|
|
|
// VTABLE: LEGO1 0x100dc1c8
|
|
// SIZE 0x28
|
|
class MxVariableTable : public MxHashTable<MxVariable*> {
|
|
public:
|
|
MxVariableTable() { m_customDestructor = Destroy; }
|
|
__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);
|
|
|
|
static void Destroy(MxVariable* p_obj) { p_obj->Destroy(); }
|
|
|
|
virtual MxS8 Compare(MxVariable*, MxVariable*) override; // vtable+0x14
|
|
virtual MxU32 Hash(MxVariable*) override; // vtable+0x18
|
|
};
|
|
|
|
// VTABLE: LEGO1 0x100dc1b0
|
|
// class MxCollection<MxVariable *>
|
|
|
|
// VTABLE: LEGO1 0x100dc1e8
|
|
// class MxHashTable<MxVariable *>
|
|
|
|
// TEMPLATE: LEGO1 0x100afcd0
|
|
// MxCollection<MxVariable *>::Compare
|
|
|
|
// TEMPLATE: LEGO1 0x100afce0
|
|
// MxCollection<MxVariable *>::~MxCollection<MxVariable *>
|
|
|
|
// TEMPLATE: LEGO1 0x100afd30
|
|
// MxCollection<MxVariable *>::Destroy
|
|
|
|
// SYNTHETIC: LEGO1 0x100afd40
|
|
// MxCollection<MxVariable *>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100afdb0
|
|
// MxVariableTable::Destroy
|
|
|
|
// TEMPLATE: LEGO1 0x100afdc0
|
|
// MxHashTable<MxVariable *>::Hash
|
|
|
|
// TEMPLATE: LEGO1 0x100b0bd0
|
|
// MxHashTable<MxVariable *>::~MxHashTable<MxVariable *>
|
|
|
|
// SYNTHETIC: LEGO1 0x100b0ca0
|
|
// MxHashTable<MxVariable *>::`scalar deleting destructor'
|
|
|
|
// TEMPLATE: LEGO1 0x100b7ab0
|
|
// MxHashTable<MxVariable *>::Resize
|
|
|
|
// TEMPLATE: LEGO1 0x100b7b80
|
|
// MxHashTable<MxVariable *>::NodeInsert
|
|
|
|
#endif // MXVARIABLETABLE_H
|