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