Botcraft
1.21.4
Loading...
Searching...
No Matches
ItemCost.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
#include "
protocolCraft/NetworkType.hpp
"
4
#include "
protocolCraft/Types/Components/DataComponents.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
class
ItemCost
:
public
NetworkType
9
{
10
SERIALIZED_FIELD
(ItemId,
VarInt
);
11
SERIALIZED_FIELD
(Count,
VarInt
);
12
SERIALIZED_FIELD
(Components,
Components::DataComponentPredicate
);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
// ProtocolCraft
17
#endif
DataComponents.hpp
NetworkType.hpp
ProtocolCraft::Components::DataComponentPredicate
Definition
DataComponents.hpp:103
ProtocolCraft::ItemCost
Definition
ItemCost.hpp:9
ProtocolCraft::ItemCost::SERIALIZED_FIELD
SERIALIZED_FIELD(Components, Components::DataComponentPredicate)
ProtocolCraft::ItemCost::SERIALIZED_FIELD
SERIALIZED_FIELD(Count, VarInt)
ProtocolCraft::ItemCost::SERIALIZED_FIELD
SERIALIZED_FIELD(ItemId, VarInt)
ProtocolCraft::ItemCost::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
ItemCost.hpp:14
ProtocolCraft::NetworkType
Definition
NetworkType.hpp:11
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Types
Item
ItemCost.hpp
Generated by
1.9.8