Botcraft 1.21.4
Loading...
Searching...
No Matches
ProtocolCraft::RecipeDisplay Class Reference

#include <RecipeDisplay.hpp>

Inheritance diagram for ProtocolCraft::RecipeDisplay:
ProtocolCraft::NetworkType

Public Member Functions

RecipeDisplaySetType (const RecipeDisplayDataType type)
 
- Public Member Functions inherited from ProtocolCraft::NetworkType
virtual ~NetworkType ()
 
virtual void Read (ReadIterator &iter, size_t &length)
 
virtual void Write (WriteContainer &container) const
 
virtual Json::Value Serialize () const
 

Private Member Functions

 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Type, Internal::DiffType< RecipeDisplayDataType, VarInt >)
 
 SERIALIZED_FIELD_WITHOUT_GETTER_SETTER (Data, std::shared_ptr< RecipeDisplayData >)
 
 GETTER (Type)
 
 GETTER (Data)
 

Private Attributes

 DECLARE_READ_WRITE_SERIALIZE
 

Additional Inherited Members

- Protected Member Functions inherited from ProtocolCraft::NetworkType
virtual void ReadImpl (ReadIterator &iter, size_t &length)=0
 
virtual void WriteImpl (WriteContainer &container) const =0
 
virtual Json::Value SerializeImpl () const =0
 

Detailed Description

Definition at line 23 of file RecipeDisplay.hpp.

Member Function Documentation

◆ GETTER() [1/2]

ProtocolCraft::RecipeDisplay::GETTER ( Data  )
private

◆ GETTER() [2/2]

ProtocolCraft::RecipeDisplay::GETTER ( Type  )
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [1/2]

ProtocolCraft::RecipeDisplay::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( Data  ,
std::shared_ptr< RecipeDisplayData  
)
private

◆ SERIALIZED_FIELD_WITHOUT_GETTER_SETTER() [2/2]

ProtocolCraft::RecipeDisplay::SERIALIZED_FIELD_WITHOUT_GETTER_SETTER ( Type  ,
Internal::DiffType< RecipeDisplayDataType, VarInt  
)
private

◆ SetType()

Member Data Documentation

◆ DECLARE_READ_WRITE_SERIALIZE

ProtocolCraft::RecipeDisplay::DECLARE_READ_WRITE_SERIALIZE
private

Definition at line 28 of file RecipeDisplay.hpp.


The documentation for this class was generated from the following files: