#include <NBT.hpp>
|
| | Value () |
| |
| | Value (TagCompound c, std::string root_name="") |
| |
| | Value (const UnnamedValue &unnamed) |
| |
| | Value (UnnamedValue &&unnamed) |
| |
| | Value (const UntrustedValue &untrusted) |
| |
| | Value (UntrustedValue &&untrusted) |
| |
| virtual | ~Value () override |
| |
| bool | HasData () const |
| |
| const std::string & | GetName () const |
| |
| | Tag ()=default |
| |
| template<typename T , std::enable_if_t< std::is_constructible_v< Internal::TagVariant, T && >, bool > = true> |
| | Tag (T &&v) |
| |
| 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 > |
| const T & | get () const |
| |
| template<typename T > |
| T & | get () |
| |
| 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 |
| |
| template<typename T , std::enable_if_t< std::is_convertible_v< std::vector< T >, Internal::TagListVariant >, bool > = true> |
| std::vector< T > & | as_list_of () |
| | Empty Tag becomes an empty TagList.
|
| |
| const Tag & | operator[] (const std::string &s) const |
| |
| Tag & | operator[] (const std::string &s) |
| |
| 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 41 of file NBT.hpp.
◆ Value() [1/6]
| ProtocolCraft::NBT::Value::Value |
( |
| ) |
|
◆ Value() [2/6]
| ProtocolCraft::NBT::Value::Value |
( |
TagCompound |
c, |
|
|
std::string |
root_name = "" |
|
) |
| |
◆ Value() [3/6]
| ProtocolCraft::NBT::Value::Value |
( |
const UnnamedValue & |
unnamed | ) |
|
◆ Value() [4/6]
◆ Value() [5/6]
◆ Value() [6/6]
◆ ~Value()
| ProtocolCraft::NBT::Value::~Value |
( |
| ) |
|
|
overridevirtual |
◆ GetName()
| const std::string & ProtocolCraft::NBT::Value::GetName |
( |
| ) |
const |
◆ HasData()
| bool ProtocolCraft::NBT::Value::HasData |
( |
| ) |
const |
◆ ReadImpl()
| void ProtocolCraft::NBT::Value::ReadImpl |
( |
ReadIterator & |
iter, |
|
|
size_t & |
length |
|
) |
| |
|
overrideprotectedvirtual |
◆ WriteImpl()
| void ProtocolCraft::NBT::Value::WriteImpl |
( |
WriteContainer & |
container | ) |
const |
|
overrideprotectedvirtual |
◆ operator>>
| std::istream & operator>> |
( |
std::istream & |
is, |
|
|
Value & |
v |
|
) |
| |
|
friend |
◆ name
| std::string ProtocolCraft::NBT::Value::name |
|
private |
The documentation for this class was generated from the following files:
- protocolCraft/include/protocolCraft/Types/NBT/NBT.hpp
- protocolCraft/src/Types/NBT/NBT.cpp