|
Botcraft 1.21.10
|
#include <CustomType.hpp>
Public Types | |
| using | storage_type = typename SerializedType< T >::storage_type |
| using | serialization_type = typename SerializedType< T >::serialization_type |
Static Public Member Functions | |
| template<typename C > | |
| static storage_type | Read (const C *c, std::vector< unsigned char >::const_iterator &iter, size_t &length) |
| template<typename C > | |
| static void | Write (const C *c, const storage_type &val, std::vector< unsigned char > &container) |
| template<typename C > | |
| static std::optional< Json::Value > | Serialize (const C *c, const storage_type &val) |
Definition at line 13 of file CustomType.hpp.
| using ProtocolCraft::Internal::CustomType< T, ReadFunc, WriteFunc, SerializeFunc >::serialization_type = typename SerializedType<T>::serialization_type |
Definition at line 16 of file CustomType.hpp.
| using ProtocolCraft::Internal::CustomType< T, ReadFunc, WriteFunc, SerializeFunc >::storage_type = typename SerializedType<T>::storage_type |
Definition at line 15 of file CustomType.hpp.
|
inlinestatic |
Definition at line 19 of file CustomType.hpp.
|
inlinestatic |
Definition at line 60 of file CustomType.hpp.
|
inlinestatic |
Definition at line 47 of file CustomType.hpp.