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
5
6namespace ProtocolCraft
7{
8 namespace Components
9 {
10 class AssetInfo : public NetworkType
11 {
12 SERIALIZED_FIELD(Suffix, std::string);
13
15 };
16
17 class MaterialAssetGroup : public NetworkType
18 {
19 SERIALIZED_FIELD(Base, AssetInfo);
20 SERIALIZED_FIELD(Overrides, std::map<Identifier, AssetInfo>);
21
23 };
24 }
25}
26#endif
#define DECLARE_READ_WRITE_SERIALIZE
Define auto serializable utilities and declare ReadImpl, WriteImpl and SerializeImpl virtual function...
#define SERIALIZED_FIELD(Name,...)