Skip to content

Commit

Permalink
Add InputMethodEditor (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-X-GTA authored Sep 1, 2024
1 parent 21cbc20 commit b98cf8d
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
1 change: 1 addition & 0 deletions classes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
#include "game_files/CGameConfig.hpp"
#include "game_files/GameDataHash.hpp"
#include "misc/CTunables.hpp"
#include "misc/InputMethodEditor.hpp"
#include "misc/vfx/TimecycleKeyframeData.hpp"
#include "netsync/CProjectBaseSyncDataNode.hpp"
#include "netsync/CProjectSyncTree.hpp"
Expand Down
16 changes: 16 additions & 0 deletions misc/InputMethodEditor.hpp
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit b98cf8d

Please sign in to comment.