mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-13 18:12:30 +00:00
feat(profile): add more work related to console
This commit is contained in:
parent
08b49c5197
commit
e95eb3354d
49 changed files with 9188 additions and 245 deletions
35
profile/3.3.5a-windows-386/include/db/clientdb.h
Normal file
35
profile/3.3.5a-windows-386/include/db/clientdb.h
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
#ifndef DB_CLIENT_DB_H
|
||||
#define DB_CLIENT_DB_H
|
||||
|
||||
#include "db/idatabase.h"
|
||||
|
||||
DECLARE_STRUCT(WowClientDB_Base);
|
||||
DECLARE_STRUCT(WowClientDB_Base__v_table);
|
||||
|
||||
struct WowClientDB_Base__v_table {
|
||||
void* v_fn_00;
|
||||
};
|
||||
|
||||
struct WowClientDB_Base {
|
||||
void** v_table;
|
||||
// Member variables
|
||||
int32_t m_loaded;
|
||||
int32_t m_numRecords;
|
||||
int32_t m_maxID;
|
||||
int32_t m_minID;
|
||||
const char* m_strings;
|
||||
};
|
||||
|
||||
#define DB_CLIENT_DB(T) \
|
||||
DB_I_DATABASE(T); \
|
||||
typedef struct WowClientDB_Common_##T WowClientDB_Common_##T; \
|
||||
typedef struct WowClientDB_##T WowClientDB_##T; \
|
||||
struct WowClientDB_Common_##T { \
|
||||
WowClientDB_Base b_base; \
|
||||
}; \
|
||||
struct WowClientDB_##T { \
|
||||
WowClientDB_Common_##T b_base_01; \
|
||||
IDatabase_##T b_base_02; \
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue