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 // member variables
23 // NOLINTBEGIN
27 // NOLINTEND
28
29 public:
30 // prevent constructor by default
31 NetSerializationCallbacks& operator=(NetSerializationCallbacks const&);
32 NetSerializationCallbacks(NetSerializationCallbacks const&);
33 NetSerializationCallbacks();
34
35 public:
36 // member functions
37 // NOLINTBEGIN
38#ifdef LL_PLAT_C
39 MCNAPI NetSerializationCallbacks(::ComponentNetRelevancyRegistry::NetSerializationCallbacks&&);
40
41 MCNAPI ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& setNeverClientSide();
42
43 MCNAPI ~NetSerializationCallbacks();
44#endif
45 // NOLINTEND
46
47 public:
48 // constructor thunks
49 // NOLINTBEGIN
50#ifdef LL_PLAT_C
52#endif
53 // NOLINTEND
54
55 public:
56 // destructor thunk
57 // NOLINTBEGIN
58#ifdef LL_PLAT_C
59 MCNAPI void $dtor();
60#endif
61 // NOLINTEND
62 };
63
64public:
65 // member variables
66 // NOLINTBEGIN
68 // NOLINTEND
69
70public:
71 // prevent constructor by default
72 ComponentNetRelevancyRegistry& operator=(ComponentNetRelevancyRegistry const&);
73 ComponentNetRelevancyRegistry(ComponentNetRelevancyRegistry const&);
74 ComponentNetRelevancyRegistry();
75
76public:
77 // member functions
78 // NOLINTBEGIN
79#ifdef LL_PLAT_C
80 MCNAPI ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& registerNetSerialization(
81 ::HashedString const& definitionName,
82 ::std::function<bool(::DefinitionInstanceGroup const&, ::CompoundTag&)> serializationCallback
83 );
84#endif
85
86 MCNAPI bool
88
89#ifdef LL_PLAT_C
90 MCNAPI ~ComponentNetRelevancyRegistry();
91#endif
92 // NOLINTEND
93
94public:
95 // destructor thunk
96 // NOLINTBEGIN
97#ifdef LL_PLAT_C
98 MCNAPI void $dtor();
99#endif
100 // NOLINTEND
101};
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