#include <NBT.hpp>
|
| | UnnamedValue () |
| |
| | UnnamedValue (const Value &named) |
| |
| | UnnamedValue (Value &&named) |
| |
| virtual | ~UnnamedValue () override |
| |
| const std::string & | GetName () const |
| |
| template<typename T > |
| bool | is () const |
| |
| template<typename T , std::enable_if_t< std::is_convertible_v< std::vector< T >, Internal::TagListVariant >, bool > = true> |
| bool | is_list_of () const |
| |
| template<typename T , std::enable_if_t< std::is_same_v< T, TagByte >||std::is_same_v< T, TagShort >||std::is_same_v< T, TagInt >||std::is_same_v< T, TagLong >||std::is_same_v< T, TagFloat >||std::is_same_v< T, TagDouble >, bool > = true> |
| T | get () const |
| |
| template<typename T , std::enable_if_t< std::is_same_v< T, TagByteArray >||std::is_same_v< T, TagString >||std::is_same_v< T, TagList >||std::is_same_v< T, TagCompound >||std::is_same_v< T, TagIntArray >||std::is_same_v< T, TagLongArray >, bool > = true> |
| const T & | get () const |
| |
| template<typename T , std::enable_if_t< std::is_convertible_v< std::vector< T >, Internal::TagListVariant >, bool > = true> |
| const std::vector< T > & | as_list_of () const |
| |
| const Tag & | operator[] (const std::string &s) const |
| |
| size_t | size () const |
| |
| bool | contains (const std::string &s) const |
| |
| virtual | ~NetworkType () |
| |
| virtual void | Read (ReadIterator &iter, size_t &length) |
| |
| virtual void | Write (WriteContainer &container) const |
| |
| virtual Json::Value | Serialize () const |
| |
Definition at line 11 of file NBT.hpp.
◆ UnnamedValue() [1/3]
| ProtocolCraft::NBT::UnnamedValue::UnnamedValue |
( |
| ) |
|
◆ UnnamedValue() [2/3]
| ProtocolCraft::NBT::UnnamedValue::UnnamedValue |
( |
const Value & |
named | ) |
|
◆ UnnamedValue() [3/3]
| ProtocolCraft::NBT::UnnamedValue::UnnamedValue |
( |
Value && |
named | ) |
|
◆ ~UnnamedValue()
| ProtocolCraft::NBT::UnnamedValue::~UnnamedValue |
( |
| ) |
|
|
overridevirtual |
◆ ReadImpl()
| void ProtocolCraft::NBT::UnnamedValue::ReadImpl |
( |
ReadIterator & |
iter, |
|
|
size_t & |
length |
|
) |
| |
|
overrideprotectedvirtual |
◆ WriteImpl()
| void ProtocolCraft::NBT::UnnamedValue::WriteImpl |
( |
WriteContainer & |
container | ) |
const |
|
overrideprotectedvirtual |
The documentation for this class was generated from the following files:
- protocolCraft/include/protocolCraft/Types/NBT/NBT.hpp
- protocolCraft/src/Types/NBT/NBT.cpp