|
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
} |
|
|
template<std::integral T> |
constexpr IntTag & | operator= (int value) noexcept |
|
template<std::integral T> |
constexpr | operator T () const noexcept |
|
template<std::integral T> |
constexpr | IntTag (T value=0) noexcept |
|
IntTag | operator- () const noexcept |
|
virtual void | write (::IDataOutput &dos) const |
|
virtual ::Bedrock::Result< void > | load (::IDataInput &dis) |
|
virtual::Tag::Type | getId () const |
|
virtual::std::string | toString () const |
|
virtual ::std::unique_ptr<::Tag > | copy () const |
|
virtual bool | equals (::Tag const &rhs) const |
|
virtual uint64 | hash () const |
|
MCFOLD void | $dtor () |
|
MCAPI void | $write (::IDataOutput &dos) const |
|
MCAPI ::Bedrock::Result< void > | $load (::IDataInput &dis) |
|
MCFOLD::Tag::Type | $getId () const |
|
MCAPI::std::string | $toString () const |
|
MCAPI ::std::unique_ptr<::Tag > | $copy () const |
|
MCAPI bool | $equals (::Tag const &rhs) const |
|
MCAPI uint64 | $hash () 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 () |
|
bool | operator== (Tag const &other) const |
|
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 | $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 () |
|
◆ write()
◆ load()
◆ getId()
virtual::Tag::Type IntTag::getId |
( |
| ) |
const |
|
virtual |
◆ toString()
virtual::std::string IntTag::toString |
( |
| ) |
const |
|
virtual |
◆ copy()
virtual ::std::unique_ptr<::Tag > IntTag::copy |
( |
| ) |
const |
|
virtual |
◆ equals()
virtual bool IntTag::equals |
( |
::Tag const & | rhs | ) |
const |
|
virtual |
◆ hash()
virtual uint64 IntTag::hash |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following file: