Botcraft
1.21.4
Loading...
Searching...
No Matches
DataComponentTypeFireworks.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
#include "
protocolCraft/Types/Components/DataComponentTypeFireworkExplosion.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
DataComponentTypeFireworks
:
public
DataComponentType
11
{
12
SERIALIZED_FIELD
(FlightDuration,
VarInt
);
13
SERIALIZED_FIELD
(Explosions, std::vector<DataComponentTypeFireworkExplosion>);
14
15
DECLARE_READ_WRITE_SERIALIZE
;
16
};
17
}
18
}
19
#endif
DataComponentTypeFireworkExplosion.hpp
DataComponentType.hpp
ProtocolCraft::Components::DataComponentTypeFireworks
Definition
DataComponentTypeFireworks.hpp:11
ProtocolCraft::Components::DataComponentTypeFireworks::SERIALIZED_FIELD
SERIALIZED_FIELD(Explosions, std::vector< DataComponentTypeFireworkExplosion >)
ProtocolCraft::Components::DataComponentTypeFireworks::DECLARE_READ_WRITE_SERIALIZE
DECLARE_READ_WRITE_SERIALIZE
Definition
DataComponentTypeFireworks.hpp:15
ProtocolCraft::Components::DataComponentTypeFireworks::SERIALIZED_FIELD
SERIALIZED_FIELD(FlightDuration, VarInt)
ProtocolCraft::Components::DataComponentType
Definition
DataComponentType.hpp:10
ProtocolCraft
Definition
ItemUtilities.hpp:8
ProtocolCraft::VarType
Definition
Templates.hpp:26
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeFireworks.hpp
Generated by
1.9.8