LeviLamina
Loading...
Searching...
No Matches
Int64Tag Class Reference
Inheritance diagram for Int64Tag:

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::integral T>
constexpr Int64Tagoperator= (int64 value) noexcept
template<std::integral T>
constexpr operator T () const noexcept
template<std::integral T>
constexpr Int64Tag (T value=0) noexcept
Int64Tag 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
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 $dtor ()
MCFOLD void $deleteChildren ()
MCAPI void $print (::PrintStream &out) const
MCAPI void $print (::std::string const &prefix, ::PrintStream &out) const

Static Public Member Functions

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 ()

Public Attributes

int64 data

Member Function Documentation

◆ write()

virtual void Int64Tag::write ( ::IDataOutput & dos) const
virtual

Implements Tag.

◆ load()

virtual ::Bedrock::Result< void > Int64Tag::load ( ::IDataInput & dis)
virtual

Implements Tag.

◆ getId()

virtual::Tag::Type Int64Tag::getId ( ) const
virtual

Implements Tag.

◆ toString()

virtual::std::string Int64Tag::toString ( ) const
virtual

Implements Tag.

◆ copy()

virtual ::std::unique_ptr<::Tag > Int64Tag::copy ( ) const
virtual

Implements Tag.

◆ equals()

virtual bool Int64Tag::equals ( ::Tag const & rhs) const
virtual

Reimplemented from Tag.

◆ hash()

virtual uint64 Int64Tag::hash ( ) const
virtual

Implements Tag.

◆ $vftable()

MCAPI void ** Int64Tag::$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: