LeviLamina
Loading...
Searching...
No Matches
ToastMessage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/services/messaging/player_messaging/ButtonActionType.h"
7#include "mc/client/social/ToastMessageType.h"
8#include "mc/deps/json/Value.h"
9
10// auto generated forward declare list
11// clang-format off
12class IToastListener;
13struct ToastIconData;
14// clang-format on
15
16class ToastMessage {
17public:
18 // member variables
19 // NOLINTBEGIN
20 ::ll::TypedStorage<8, 8, ::IToastListener*> mListener;
21 ::ll::TypedStorage<1, 1, bool> mIsMergingEnabled;
22 ::ll::TypedStorage<1, 1, bool> mHasCustomPocketToast;
23 ::ll::TypedStorage<1, 1, bool> mUseCustomPocketToast;
24 ::ll::TypedStorage<1, 1, bool> mIsSilent;
25 ::ll::TypedStorage<4, 4, ::ToastMessageType> mType;
26 ::ll::TypedStorage<8, 32, ::std::string> mTitle;
27 ::ll::TypedStorage<8, 32, ::std::string> mSubtitle;
28 ::ll::TypedStorage<8, 32, ::std::string> mMessageId;
29 ::ll::TypedStorage<8, 16, ::Json::Value> mPropertyBag;
30 ::ll::TypedStorage<8, 32, ::std::string> mLink;
31 ::ll::TypedStorage<4, 4, ::PlayerMessaging::ButtonActionType> mButtonActionType;
32 ::ll::TypedStorage<1, 1, bool> mHasBeenPressed;
33 ::ll::TypedStorage<4, 4, float> mTransitInTime;
34 ::ll::TypedStorage<4, 4, float> mTransitOutTime;
35 ::ll::TypedStorage<4, 4, float> mAdditionalDisplaySeconds;
36 ::ll::TypedStorage<4, 4, float> mAlpha;
37 ::ll::TypedStorage<4, 4, float> mBackgroundAlpha;
38 ::ll::TypedStorage<4, 8, ::glm::vec2> mStartPosition;
39 ::ll::TypedStorage<4, 8, ::glm::vec2> mIdlePosition;
40 ::ll::TypedStorage<4, 8, ::glm::vec2> mEndPosition;
41 ::ll::TypedStorage<4, 8, ::glm::vec2> mCustomPocketStartPosition;
42 ::ll::TypedStorage<4, 8, ::glm::vec2> mCustomPocketIdlePosition;
43 ::ll::TypedStorage<4, 8, ::glm::vec2> mCustomPocketEndPosition;
44 ::ll::TypedStorage<8, 24, ::std::vector<::ToastIconData>> mIconRenderIds;
45 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mVisibleButton;
46 ::ll::TypedStorage<8, 32, ::std::string> mControlId;
47 ::ll::TypedStorage<8, 32, ::std::string> mPocketControlId;
48 // NOLINTEND
49
50public:
51 // prevent constructor by default
52 ToastMessage();
53
54public:
55 // member functions
56 // NOLINTBEGIN
57 MCAPI ToastMessage(::ToastMessage&&);
58
59 MCAPI ToastMessage(::ToastMessage const&);
60
61 MCAPI explicit ToastMessage(::std::string const& message);
62
63 MCAPI ToastMessage(::ToastMessageType type, ::std::string const& title, ::std::string const& subtitle);
64
65 MCAPI ToastMessage(
66 ::ToastMessageType type,
67 ::std::string const& title,
68 ::std::string const& subtitle,
69 ::Json::Value const& propertyBag
70 );
71
72 MCAPI ToastMessage(
73 ::ToastMessageType type,
74 ::std::string const& title,
75 ::std::string const& subtitle,
76 ::Json::Value const& propertyBag,
77 float displaySeconds
78 );
79
80 MCAPI ToastMessage(
81 ::ToastMessageType type,
82 ::std::string const& title,
83 ::std::string const& subtitle,
84 ::std::string const& messageId,
85 bool isSilent,
86 ::std::string const& link,
87 ::PlayerMessaging::ButtonActionType buttonActionType
88 );
89
90 MCAPI ::ToastMessage& operator=(::ToastMessage const&);
91
92 MCAPI ::ToastMessage& operator=(::ToastMessage&&);
93
94 MCAPI void setIconIds(::std::vector<::ToastIconData> ids);
95
96 MCAPI ~ToastMessage();
97 // NOLINTEND
98
99public:
100 // constructor thunks
101 // NOLINTBEGIN
102 MCAPI void* $ctor(::ToastMessage&&);
103
104 MCAPI void* $ctor(::ToastMessage const&);
105
106 MCAPI void* $ctor(::std::string const& message);
107
108 MCAPI void* $ctor(::ToastMessageType type, ::std::string const& title, ::std::string const& subtitle);
109
110 MCAPI void* $ctor(
111 ::ToastMessageType type,
112 ::std::string const& title,
113 ::std::string const& subtitle,
114 ::Json::Value const& propertyBag
115 );
116
117 MCAPI void* $ctor(
118 ::ToastMessageType type,
119 ::std::string const& title,
120 ::std::string const& subtitle,
121 ::Json::Value const& propertyBag,
122 float displaySeconds
123 );
124
125 MCAPI void* $ctor(
126 ::ToastMessageType type,
127 ::std::string const& title,
128 ::std::string const& subtitle,
129 ::std::string const& messageId,
130 bool isSilent,
131 ::std::string const& link,
132 ::PlayerMessaging::ButtonActionType buttonActionType
133 );
134 // NOLINTEND
135
136public:
137 // destructor thunk
138 // NOLINTBEGIN
139 MCAPI void $dtor();
140 // NOLINTEND
141};
Definition IToastListener.h:5
Definition ToastMessage.h:5
Definition ToastIconData.h:5