3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/client/gui/SoundDirection.h"
11 enum class MessageType :
int {
18 TextObjectMessage = 6,
19 TextObjectWhisperMessage = 7,
20 AnnouncementMessage = 8,
21 AudioSubtitleMessage = 9,
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;
46 GuiMessage& operator=(GuiMessage
const&);
52 MCAPI GuiMessage(::GuiMessage
const&);
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,
72 MCAPI
void* $ctor(::GuiMessage
const&);
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,
Definition GuiMessage.h:5