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 public:
48 // member functions
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
51 MCNAPI ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& setNeverClientSide();
52
53 MCNAPI ~NetSerializationCallbacks();
54#endif
55 // NOLINTEND
56
57 public:
58 // destructor thunk
59 // NOLINTBEGIN
60#ifdef LL_PLAT_C
61 MCNAPI void $dtor();
62#endif
63 // NOLINTEND
64 };
65
66public:
67 // member variables
68 // NOLINTBEGIN
70 // NOLINTEND
71
72public:
73 // prevent constructor by default
74 ComponentNetRelevancyRegistry& operator=(ComponentNetRelevancyRegistry const&);
75 ComponentNetRelevancyRegistry(ComponentNetRelevancyRegistry const&);
76 ComponentNetRelevancyRegistry();
77
78public:
79 // member functions
80 // NOLINTBEGIN
81#ifdef LL_PLAT_C
82 MCNAPI ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& registerNetSerialization(
83 ::HashedString const& definitionName,
84 ::std::function<bool(::DefinitionInstanceGroup const&, ::CompoundTag&)> serializationCallback
85 );
86#endif
87
88 MCNAPI bool
90
91#ifdef LL_PLAT_C
92 MCNAPI ~ComponentNetRelevancyRegistry();
93#endif
94 // NOLINTEND
95
96public:
97 // destructor thunk
98 // NOLINTBEGIN
99#ifdef LL_PLAT_C
100 MCNAPI void $dtor();
101#endif
102 // NOLINTEND
103};
MCAPI bool serializeComponentDefinitionsForClient(::DefinitionInstanceGroup const &definitionGroup, ::CompoundTag &tag) const
Definition CompoundTag.h:23
Definition DefinitionInstanceGroup.h:10
Definition HashedString.h:5
Definition ComponentNetRelevancyRegistry.h:20
Definition Alias.h:14