LeviLamina
Loading...
Searching...
No Matches
TextPacketPayload Struct Reference
Inheritance diagram for TextPacketPayload:

Classes

struct  AuthorAndMessage
struct  MessageAndParams
struct  MessageOnly

Public Member Functions

MCAPI TextPacketPayload (::TextPacketPayload &&)
MCAPI TextPacketPayload (::TextPacketPayload const &)
MCAPI_C::std::string const & getAuthorOrEmpty () const
MCAPI::std::string const & getMessage () const
MCAPI::TextPacketPayload & operator= (::TextPacketPayload &&)
MCAPI::TextPacketPayload & operator= (::TextPacketPayload const &)
MCAPI void * $ctor (::TextPacketPayload &&)
MCAPI void * $ctor (::TextPacketPayload const &)
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 createTextObjectMessage (::ResolvedTextObject const &resolvedTextObject, ::std::string fromXuid, ::std::string fromPlatformId)
static MCAPI ::TextPacket createTranslated (::std::string const &message, ::std::vector<::std::string > const &params)

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

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