|
|
constexpr | ListTag (List tags) |
|
constexpr | ListTag (std::initializer_list< CompoundTagVariant > tags) |
|
constexpr | ListTag (std::vector< CompoundTagVariant > tags) |
| virtual void | write (::IDataOutput &dos) const |
| virtual ::Bedrock::Result< void > | load (::IDataInput &dis) |
| virtual::Tag::Type | getId () const |
| virtual::std::string | toString () const |
| virtual void | print (::std::string const &prefix_, ::PrintStream &out) const |
| virtual ::std::unique_ptr<::Tag > | copy () const |
| virtual uint64 | hash () const |
| virtual bool | equals (::Tag const &rhs) const |
| virtual void | deleteChildren () |
|
MCAPI void | add (::std::unique_ptr<::Tag > tag) |
|
MCAPI ::std::unique_ptr<::ListTag > | copyList () const |
|
MCAPI void | forEachCompoundTag (::brstd::function_ref< void(::CompoundTag const &)> func) const |
|
MCAPI void | forEachTag (::brstd::function_ref< void(::Tag const &)> func) const |
|
MCAPI::Tag * | get (int index) const |
|
MCAPI uchar | getByte (int index) const |
|
MCFOLD::CompoundTag const * | getCompound (uint64 index) const |
|
MCFOLD::CompoundTag * | getCompound (uint64 index) |
|
MCAPI double | getDouble (int index) const |
|
MCAPI float | getFloat (int index) const |
|
MCAPI int | getInt (int index) const |
|
MCAPI int64 | getInt64 (int index) const |
|
MCAPI::std::string const & | getString (int index) const |
|
MCFOLD::Tag::Type | getType () const |
|
MCAPI int | size () const |
|
MCAPI void * | $ctor () |
|
MCAPI void | $write (::IDataOutput &dos) const |
|
MCAPI ::Bedrock::Result< void > | $load (::IDataInput &dis) |
|
MCFOLD::Tag::Type | $getId () const |
|
MCAPI::std::string | $toString () const |
|
MCAPI void | $print (::std::string const &prefix_, ::PrintStream &out) const |
|
MCAPI ::std::unique_ptr<::Tag > | $copy () const |
|
MCAPI uint64 | $hash () const |
|
MCAPI bool | $equals (::Tag const &rhs) const |
|
MCFOLD void | $deleteChildren () |
|
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 | print (::PrintStream &out) const |
|
MCAPI void | $print (::PrintStream &out) const |