Botcraft
1.21.11
Loading...
Searching...
No Matches
DataComponentTypeResourceLocation.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 765
/* > 1.20.4 */
&& PROTOCOL_VERSION < 774
/* < 1.21.11 */
2
#pragma once
3
#include "
protocolCraft/Types/Components/DataComponentType.hpp
"
4
#include "
protocolCraft/Types/Identifier.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
DataComponentTypeResourceLocation :
public
DataComponentType
11
{
12
SERIALIZED_FIELD
(Identifier,
ProtocolCraft::Identifier
);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
}
17
}
18
#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
DataComponentType.hpp
Identifier.hpp
ProtocolCraft::Identifier
Definition
Identifier.hpp:8
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
DataComponentTypeResourceLocation.hpp
Generated by
1.9.8