|
|
using | Array = std::vector<uchar> |
| |
| 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
} |
| |
|
|
constexpr | ByteArrayTag (Array arr) |
| |
|
constexpr | ByteArrayTag (std::initializer_list< uchar > val) |
| |
| virtual::Tag::Type | getId () const |
| |
| virtual::std::string | toString () const |
| |
| virtual bool | equals (::Tag const &rhs) const |
| |
| virtual ::std::unique_ptr<::Tag > | copy () const |
| |
| virtual void | write (::IDataOutput &dos) const |
| |
| virtual ::Bedrock::Result< void > | load (::IDataInput &dis) |
| |
| virtual uint64 | hash () const |
| |
|
MCFOLD::Tag::Type | $getId () const |
| |
|
MCAPI::std::string | $toString () const |
| |
|
MCFOLD bool | $equals (::Tag const &rhs) const |
| |
|
MCAPI ::std::unique_ptr<::Tag > | $copy () const |
| |
|
MCAPI void | $write (::IDataOutput &dos) const |
| |
|
MCAPI ::Bedrock::Result< void > | $load (::IDataInput &dis) |
| |
|
MCAPI uint64 | $hash () const |
| |
|
bool | operator== (Tag const &other) const |
| |
|
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 () |
| |
|
LLNDAPI std::string | toSnbt (SnbtFormat snbtFormat=SnbtFormat::PrettyFilePrint, uchar indent=4) const noexcept |
| |
|
virtual void | deleteChildren () |
| |
|
virtual void | print (::PrintStream &out) const |
| |
|
virtual void | print (::std::string const &prefix, ::PrintStream &out) const |
| |
|
MCFOLD void | $dtor () |
| |
|
MCFOLD void | $deleteChildren () |
| |
|
MCAPI void | $print (::PrintStream &out) const |
| |
|
MCAPI void | $print (::std::string const &prefix, ::PrintStream &out) const |
| |
|
| static MCAPI void ** | $vftable () |
| |
|
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 () |
| |
◆ getId()
| virtual::Tag::Type ByteArrayTag::getId |
( |
| ) |
const |
|
virtual |
◆ toString()
| virtual::std::string ByteArrayTag::toString |
( |
| ) |
const |
|
virtual |
◆ equals()
| virtual bool ByteArrayTag::equals |
( |
::Tag const & | rhs | ) |
const |
|
virtual |
◆ copy()
| virtual ::std::unique_ptr<::Tag > ByteArrayTag::copy |
( |
| ) |
const |
|
virtual |
◆ write()
◆ load()
◆ hash()
| virtual uint64 ByteArrayTag::hash |
( |
| ) |
const |
|
virtual |
◆ $vftable()
| static MCAPI void ** ByteArrayTag::$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: