LeviLamina
Loading...
Searching...
No Matches
Tag Class Referenceabstract
Inheritance diagram for Tag:

Public Types

enum class  Type : uchar {
  End = 0x0 , Byte = 0x1 , Short = 0x2 , Int = 0x3 ,
  Int64 = 0x4 , Float = 0x5 , Double = 0x6 , ByteArray = 0x7 ,
  String = 0x8 , List = 0x9 , Compound = 0xA , IntArray = 0xB
}

Public Member Functions

template<std::derived_from< Tag > T>
T const * as_ptr () const
template<std::derived_from< Tag > T>
T * as_ptr ()
template<std::derived_from< Tag > T>
T const & as () const
template<std::derived_from< Tag > T>
T & as ()
bool operator== (Tag const &other) const
LLNDAPI std::string toSnbt (SnbtFormat snbtFormat=SnbtFormat::PrettyFilePrint, uchar indent=4) const noexcept
virtual void deleteChildren ()
virtual void write (::IDataOutput &) const =0
virtual ::Bedrock::Result< void > load (::IDataInput &)=0
virtual::std::string toString () const =0
virtual::Tag::Type getId () const =0
virtual bool equals (::Tag const &rhs) const
virtual void print (::PrintStream &out) const
virtual void print (::std::string const &prefix, ::PrintStream &out) const
virtual ::std::unique_ptr<::Tag > copy () const =0
virtual uint64 hash () const =0
MCFOLD void $dtor ()
MCFOLD void $deleteChildren ()
MCFOLD bool $equals (::Tag const &rhs) const
MCAPI void $print (::PrintStream &out) const
MCAPI void $print (::std::string const &prefix, ::PrintStream &out) const

Static Public Member Functions

static MCAPI ::std::string getTagName (::Tag::Type type)
static MCAPI ::Bedrock::Result<::std::unique_ptr<::Tag > > newTag (::Tag::Type type)
static MCAPI ::std::string const & NullString ()
static MCAPI void ** $vftable ()

Member Function Documentation

◆ $vftable()

MCAPI void ** Tag::$vftable ( )
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 class was generated from the following file: