LeviLamina
Loading...
Searching...
No Matches
GuiMessage.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/client/gui/SoundDirection.h"
7
8class GuiMessage {
9public:
10 // GuiMessage inner types define
11 enum class MessageType : int {
12 None = 0,
13 ChatMessage = 1,
14 ClientMessage = 2,
15 LocalizedMessage = 3,
16 SystemMessage = 4,
17 WhisperMessage = 5,
18 TextObjectMessage = 6,
19 TextObjectWhisperMessage = 7,
20 AnnouncementMessage = 8,
21 AudioSubtitleMessage = 9,
22 };
23
24public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<4, 4, ::GuiMessage::MessageType> mType;
28 ::ll::TypedStorage<8, 32, ::std::string> mMessage;
29 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFilteredMessage;
30 ::ll::TypedStorage<8, 32, ::std::string> mTTSMessage;
31 ::ll::TypedStorage<8, 32, ::std::string> mUsername;
32 ::ll::TypedStorage<8, 32, ::std::string> mFullString;
33 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> mFilteredFullString;
34 ::ll::TypedStorage<8, 32, ::std::string> mAuthorXuid;
35 ::ll::TypedStorage<1, 1, bool> mForceVisible;
36 ::ll::TypedStorage<1, 1, bool> mTTSRequired;
37 ::ll::TypedStorage<4, 4, float> mDuration;
38 ::ll::TypedStorage<1, 1, bool> mHasBeenSeen;
39 ::ll::TypedStorage<1, 1, bool> mHasEverBeenSeen;
40 ::ll::TypedStorage<4, 4, ::SoundDirection> mDirection;
41 ::ll::TypedStorage<1, 1, bool> mIsLocalPlayer;
42 // NOLINTEND
43
44public:
45 // prevent constructor by default
46 GuiMessage& operator=(GuiMessage const&);
47 GuiMessage();
48
49public:
50 // member functions
51 // NOLINTBEGIN
52 MCAPI GuiMessage(::GuiMessage const&);
53
54 MCAPI GuiMessage(
55 ::GuiMessage::MessageType type,
56 ::std::string const& username,
57 ::std::string const& message,
58 ::std::optional<::std::string> const filteredMessage,
59 ::std::string const& ttsMessage,
60 ::std::string const& authorXuid,
61 float lifetime,
62 bool forceVisible,
63 bool ttsRequired
64 );
65
66 MCAPI ~GuiMessage();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor(::GuiMessage const&);
73
74 MCAPI void* $ctor(
75 ::GuiMessage::MessageType type,
76 ::std::string const& username,
77 ::std::string const& message,
78 ::std::optional<::std::string> const filteredMessage,
79 ::std::string const& ttsMessage,
80 ::std::string const& authorXuid,
81 float lifetime,
82 bool forceVisible,
83 bool ttsRequired
84 );
85 // NOLINTEND
86
87public:
88 // destructor thunk
89 // NOLINTBEGIN
90 MCAPI void $dtor();
91 // NOLINTEND
92};
Definition GuiMessage.h:5