LeviLamina
Loading...
Searching...
No Matches
TextToIconMapper.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/EnableNonOwnerReferences.h"
7#include "mc/deps/input/InputMode.h"
8#include "mc/input/NewInteractionModel.h"
9
10// auto generated forward declare list
11// clang-format off
12class RemappingLayout;
13// clang-format on
14
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<8, 64, ::std::unordered_map<int, ::std::string>> mGamepadIconMap;
20 ::ll::TypedStorage<8, 64, ::std::unordered_map<int, ::std::string>> mGamepadTipsIconMap;
21 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mTouchIconMap;
22 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mTouchCrossairIconMap;
23 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::string>> mTouchClassicIconMap;
24 ::ll::TypedStorage<8, 32, ::std::string> mGamepadPrefix;
25 ::ll::TypedStorage<8, 32, ::std::string> mGamepadTipsPrefix;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI TextToIconMapper();
32
33 MCAPI void _init();
34
35 MCAPI bool
36 _trySwapGamepadButtonInPlace(::std::string& button, int gamepadButton1, int gamepadButton2, bool isGameTip) const;
37
38 MCAPI void preprocessText(
39 ::std::string& text,
40 ::RemappingLayout* layout,
41 ::InputMode mode,
42 bool swapGamepadButtonsAB,
43 bool swapGamepadButtonsXY,
44 ::NewInteractionModel interactionModel,
45 bool isGameTip
46 );
47
48 MCAPI ::std::string remapGamepadIcon(int key, bool isGameTip) const;
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor();
55 // NOLINTEND
56
57public:
58 // vftables
59 // NOLINTBEGIN
60 MCNAPI static void** $vftable();
61 // NOLINTEND
62};
Definition EnableNonOwnerReferences.h:7
Definition RemappingLayout.h:5
Definition TextToIconMapper.h:5
static MCAPI void ** $vftable()