Add InputMethodEditor (#188)

This commit is contained in:
Mr-X-GTA 2024-09-01 21:40:43 +02:00 committed by GitHub
parent 7649a6bae9
commit 0fdaa5d374
2 changed files with 17 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include "game_files/CGameConfig.hpp" #include "game_files/CGameConfig.hpp"
#include "game_files/GameDataHash.hpp" #include "game_files/GameDataHash.hpp"
#include "misc/CTunables.hpp" #include "misc/CTunables.hpp"
#include "misc/InputMethodEditor.hpp"
#include "misc/vfx/TimecycleKeyframeData.hpp" #include "misc/vfx/TimecycleKeyframeData.hpp"
#include "netsync/CProjectBaseSyncDataNode.hpp" #include "netsync/CProjectBaseSyncDataNode.hpp"
#include "netsync/CProjectSyncTree.hpp" #include "netsync/CProjectSyncTree.hpp"

View File

@ -0,0 +1,16 @@
#pragma once
#include <cstdint>
#pragma pack(push, 8)
class InputMethodEditor
{
public:
uint32_t m_count; //0x0000
uint32_t m_selected_index; //0x0004
char16_t m_composition_string[31]; //0x0008
char16_t m_candidate_list[9][31]; //0x0046
bool m_active; //0x0274
char pad_0275[3]; //0x0275
}; //Size: 0x0278
static_assert(sizeof(InputMethodEditor) == 0x278);
#pragma pack(pop)