LeviLamina
Loading...
Searching...
No Matches
EmoteWheelCommonModel.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/DirtyFlag.h"
7#include "mc/platform/UUID.h"
8
9// auto generated forward declare list
10// clang-format off
15// clang-format on
16
18public:
19 // member variables
20 // NOLINTBEGIN
21 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::PersonaScreenModelCommon>> mPersonaModel;
22 ::ll::TypedStorage<8, 16, ::std::shared_ptr<::MinecraftScreenModel>> mScreenModel;
23 ::ll::TypedStorage<8, 64, ::std::function<void(int)>> mOnButtonClick;
24 ::ll::TypedStorage<4, 4, ::ui::DirtyFlag> mDirtyFlag;
25 ::ll::TypedStorage<4, 4, int> mHoverSlotIndex;
26 ::ll::TypedStorage<8, 24, ::std::optional<::mce::UUID>> mHoveredEmote;
27 ::ll::TypedStorage<4, 4, int> mHoverIndex;
28 ::ll::TypedStorage<4, 4, int> mPreviousSelectedSlotIndex;
29 ::ll::TypedStorage<1, 1, bool> mIsUsingAnalogToHover;
30 // NOLINTEND
31
32public:
33 // prevent constructor by default
34 EmoteWheelCommonModel();
35
36public:
37 // member functions
38 // NOLINTBEGIN
39 MCAPI
40 EmoteWheelCommonModel(::MinecraftScreenController& screen, ::std::shared_ptr<::PersonaScreenModel> personaModel);
41
42 MCAPI EmoteWheelCommonModel(
43 ::MinecraftScreenController& screen,
44 ::std::shared_ptr<::PersonaScreenModelCommon> personaModel,
45 ::std::shared_ptr<::MinecraftScreenModel> screenModel
46 );
47
48 MCAPI ::std::string _constructHoveredButtonMessage(
49 bool slotSet,
50 int slotIndex,
51 int screenButtonCount,
52 ::std::string const& emoteName
53 ) const;
54
55 MCAPI void _fetchEmoteCatalogOffers();
56
57 MCAPI void _registerBindings(::MinecraftScreenController& mScreen);
58
59 MCAPI void _setHoverIndex(int hoverIndex);
60
61 MCAPI void setOnEmoteSlotSelected(::std::function<void(int)> callback);
62
63 MCAPI ~EmoteWheelCommonModel();
64 // NOLINTEND
65
66public:
67 // constructor thunks
68 // NOLINTBEGIN
69 MCAPI void* $ctor(::MinecraftScreenController& screen, ::std::shared_ptr<::PersonaScreenModel> personaModel);
70
71 MCAPI void* $ctor(
72 ::MinecraftScreenController& screen,
73 ::std::shared_ptr<::PersonaScreenModelCommon> personaModel,
74 ::std::shared_ptr<::MinecraftScreenModel> screenModel
75 );
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCAPI void $dtor();
82 // NOLINTEND
83};
Definition EmoteWheelCommonModel.h:5
Definition MinecraftScreenController.h:5
Definition MinecraftScreenModel.h:5
Definition PersonaScreenModelCommon.h:5
Definition PersonaScreenModel.h:5