LeviLamina
Loading...
Searching...
No Matches
ComponentNetRelevancyRegistry.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class CompoundTag;
9class HashedString;
10// clang-format on
11
12class ComponentNetRelevancyRegistry {
13public:
14 // ComponentNetRelevancyRegistry inner types declare
15 // clang-format off
17 // clang-format on
18
19 // ComponentNetRelevancyRegistry inner types define
20 struct NetSerializationCallbacks {
21 public:
22 // NetSerializationCallbacks inner types declare
23 // clang-format off
26 // clang-format on
27
28 // NetSerializationCallbacks inner types define
30
32
33 public:
34 // member variables
35 // NOLINTBEGIN
39 // NOLINTEND
40
41 public:
42 // prevent constructor by default
43 NetSerializationCallbacks& operator=(NetSerializationCallbacks const&);
44 NetSerializationCallbacks(NetSerializationCallbacks const&);
45 NetSerializationCallbacks();
46 };
47
48public:
49 // member variables
50 // NOLINTBEGIN
52 // NOLINTEND
53
54public:
55 // prevent constructor by default
56 ComponentNetRelevancyRegistry& operator=(ComponentNetRelevancyRegistry const&);
57 ComponentNetRelevancyRegistry(ComponentNetRelevancyRegistry const&);
58 ComponentNetRelevancyRegistry();
59
60public:
61 // member functions
62 // NOLINTBEGIN
63#ifdef LL_PLAT_C
64 MCNAPI ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& registerNetSerialization(
65 ::HashedString const& definitionName,
66 ::std::function<bool(::DefinitionInstanceGroup const&, ::CompoundTag&)> serializationCallback
67 );
68#endif
69
70 MCNAPI bool
72 // NOLINTEND
73};
MCAPI bool serializeComponentDefinitionsForClient(::DefinitionInstanceGroup const &definitionGroup, ::CompoundTag &tag) const
Definition CompoundTag.h:18
Definition DefinitionInstanceGroup.h:5
Definition HashedString.h:5
Definition ComponentNetRelevancyRegistry.h:20
Definition Alias.h:14