Botcraft
1.21.4
Loading...
Searching...
No Matches
RecipeDataSmithing.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 732
/* > 1.15.2 */
&& PROTOCOL_VERSION < 763
/* < 1.20 */
2
#pragma once
3
4
#include "
protocolCraft/Types/Recipes/RecipeData.hpp
"
5
#include "
protocolCraft/Types/Recipes/Ingredient.hpp
"
6
#include "
protocolCraft/Types/Item/Slot.hpp
"
7
8
namespace
ProtocolCraft
9
{
10
class
RecipeDataSmithing :
public
RecipeData
11
{
12
SERIALIZED_FIELD
(Base,
ProtocolCraft::Ingredient
);
13
SERIALIZED_FIELD
(Ingredient,
ProtocolCraft::Ingredient
);
14
SERIALIZED_FIELD
(Result, Slot);
15
16
DECLARE_READ_WRITE_SERIALIZE
;
17
};
18
}
19
#endif
DECLARE_READ_WRITE_SERIALIZE
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
Definition
AutoSerializedMacros.hpp:123
SERIALIZED_FIELD
#define SERIALIZED_FIELD(Name,...)
Definition
AutoSerializedMacros.hpp:77
Ingredient.hpp
RecipeData.hpp
Slot.hpp
ProtocolCraft::Ingredient
Definition
Ingredient.hpp:14
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Recipes
RecipeDataSmithing.hpp
Generated by
1.9.8