Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
TextPacketPayload Struct Reference
Inheritance diagram for TextPacketPayload:

Classes

struct  AuthorAndMessage
struct  MessageAndParams
struct  MessageOnly

Public Member Functions

TextPacketPayload & operator= (TextPacketPayload const &)
 TextPacketPayload (TextPacketPayload const &)
MCAPI::TextPacketPayload & operator= (::TextPacketPayload &&)
MCAPI void $dtor ()

Static Public Member Functions

static MCAPI ::TextPacket createAnnouncement (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createChat (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > filteredMessage, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createJukeboxPopup (::std::string const &message, ::std::vector<::std::string > const &params)
static MCAPI ::TextPacket createRawJsonObjectMessage (::std::string const &rawJson)
static MCAPI ::TextPacket createSystemMessage (::std::string const &message)
static MCAPI ::TextPacket createTextObjectMessage (::ResolvedTextObject const &resolvedTextObject, ::std::string fromXuid, ::std::string fromPlatformId)
static MCAPI ::TextPacket createTextObjectWhisperMessage (::std::string const &message, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createTextObjectWhisperMessage (::ResolvedTextObject const &resolvedTextObject, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createTranslated (::std::string const &message, ::std::vector<::std::string > const &params)
static MCAPI ::TextPacket createTranslatedAnnouncement (::std::string const &author, ::std::string const &message, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createTranslatedChat (::std::string const &author, ::std::string const &message, ::std::string const &xuid, ::std::string const &platformId)
static MCAPI ::TextPacket createWhisper (::std::string const &author, ::std::string const &message, ::std::optional<::std::string > filteredMessage, ::std::string const &xuid, ::std::string const &platformId)

Public Attributes

::ll::TypedStorage< 1, 1, bool > mLocalize
::ll::TypedStorage< 8, 32, ::std::string > mXuid
::ll::TypedStorage< 8, 32, ::std::string > mPlatformId
::ll::TypedStorage< 8, 40, ::std::optional<::std::string > > mFilteredMessage
::ll::TypedStorage< 8, 80, ::std::variant< ::TextPacketPayload::MessageOnly, ::TextPacketPayload::AuthorAndMessage, ::TextPacketPayload::MessageAndParams > > mBody

Member Function Documentation

◆ operator=()

MCAPI::TextPacketPayload & TextPacketPayload::operator= ( ::TextPacketPayload && )
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createAnnouncement()

MCAPI ::TextPacket TextPacketPayload::createAnnouncement ( ::std::string const & author,
::std::string const & message,
::std::optional<::std::string > filteredMessage,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTextObjectMessage()

MCAPI ::TextPacket TextPacketPayload::createTextObjectMessage ( ::ResolvedTextObject const & resolvedTextObject,
::std::string fromXuid,
::std::string fromPlatformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTextObjectWhisperMessage() [1/2]

MCAPI ::TextPacket TextPacketPayload::createTextObjectWhisperMessage ( ::std::string const & message,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTextObjectWhisperMessage() [2/2]

MCAPI ::TextPacket TextPacketPayload::createTextObjectWhisperMessage ( ::ResolvedTextObject const & resolvedTextObject,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTranslated()

MCAPI ::TextPacket TextPacketPayload::createTranslated ( ::std::string const & message,
::std::vector<::std::string > const & params )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTranslatedAnnouncement()

MCAPI ::TextPacket TextPacketPayload::createTranslatedAnnouncement ( ::std::string const & author,
::std::string const & message,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createTranslatedChat()

MCAPI ::TextPacket TextPacketPayload::createTranslatedChat ( ::std::string const & author,
::std::string const & message,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

◆ createWhisper()

MCAPI ::TextPacket TextPacketPayload::createWhisper ( ::std::string const & author,
::std::string const & message,
::std::optional<::std::string > filteredMessage,
::std::string const & xuid,
::std::string const & platformId )
static
Attention
This function is not yet publicly available. To request access: reference this function in your code and attempt to link. The linker will report the exact symbol name. Submit a access request at https://github.com/LiteLDev/mcapi-requests/issues/new including the full symbol name.

The documentation for this struct was generated from the following file: