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 const&);
58
59 MCAPI explicit ToastMessage(::std::string const& message);
60
61 MCAPI ToastMessage(
62 ::ToastMessageType type,
63 ::std::string const& title,
64 ::std::string const& subtitle,
65 ::Json::Value const& propertyBag,
66 float displaySeconds
67 );
68
69 MCAPI ToastMessage(
70 ::ToastMessageType type,
71 ::std::string const& title,
72 ::std::string const& subtitle,
73 ::std::string const& messageId,
74 bool isSilent,
75 ::std::string const& link,
76 ::PlayerMessaging::ButtonActionType buttonActionType
77 );
78
79 MCAPI ::ToastMessage& operator=(::ToastMessage const&);
80
81 MCAPI ~ToastMessage();
82 // NOLINTEND
83
84public:
85 // constructor thunks
86 // NOLINTBEGIN
87 MCAPI void* $ctor(::ToastMessage const&);
88
89 MCAPI void* $ctor(::std::string const& message);
90
91 MCAPI void* $ctor(
92 ::ToastMessageType type,
93 ::std::string const& title,
94 ::std::string const& subtitle,
95 ::Json::Value const& propertyBag,
96 float displaySeconds
97 );
98
99 MCAPI void* $ctor(
100 ::ToastMessageType type,
101 ::std::string const& title,
102 ::std::string const& subtitle,
103 ::std::string const& messageId,
104 bool isSilent,
105 ::std::string const& link,
106 ::PlayerMessaging::ButtonActionType buttonActionType
107 );
108 // NOLINTEND
109
110public:
111 // destructor thunk
112 // NOLINTBEGIN
113 MCAPI void $dtor();
114 // NOLINTEND
115};
Definition IToastListener.h:5
Definition ToastMessage.h:5
Definition ToastIconData.h:5