Add InputMethodEditor (#188)
Some checks failed
Build / build (ubuntu-latest) (push) Failing after 1m22s
Build / build (windows-latest) (push) Has been cancelled

This commit is contained in:
Mr-X-GTA 2024-09-01 21:40:43 +02:00 committed by GitHub
parent 21cbc2076b
commit b98cf8d4da
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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)