Botcraft
26.3
Loading...
Searching...
No Matches
MaterialAssetGroup.hpp
Go to the documentation of this file.
1
#if PROTOCOL_VERSION > 769
/* > 1.21.4 */
&& PROTOCOL_VERSION < 777
/* < 26.3 */
2
#pragma once
3
#include "
protocolCraft/NetworkType.hpp
"
4
#include "
protocolCraft/Types/Identifier.hpp
"
5
6
namespace
ProtocolCraft
7
{
8
namespace
Components
9
{
10
class
AssetInfo :
public
NetworkType
11
{
12
SERIALIZED_FIELD
(Suffix, std::string);
13
14
DECLARE_READ_WRITE_SERIALIZE
;
15
};
16
17
class
MaterialAssetGroup :
public
NetworkType
18
{
19
SERIALIZED_FIELD
(Base, AssetInfo);
20
SERIALIZED_FIELD
(Overrides, std::map<Identifier, AssetInfo>);
21
22
DECLARE_READ_WRITE_SERIALIZE
;
23
};
24
}
25
}
26
#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
Identifier.hpp
NetworkType.hpp
ProtocolCraft
Definition
ItemUtilities.hpp:8
protocolCraft
include
protocolCraft
Types
Components
Subtypes
MaterialAssetGroup.hpp
Generated by
1.9.8