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 MCNAPI_C ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& setNeverClientSide();
39 // NOLINTEND
40
41 public:
42 // constructor thunks
43 // NOLINTBEGIN
45 // NOLINTEND
46
47 public:
48 // destructor thunk
49 // NOLINTBEGIN
50 MCNAPI_C void $dtor();
51 // NOLINTEND
52 };
53
54public:
55 // member variables
56 // NOLINTBEGIN
58 // NOLINTEND
59
60public:
61 // prevent constructor by default
62 ComponentNetRelevancyRegistry& operator=(ComponentNetRelevancyRegistry const&);
63 ComponentNetRelevancyRegistry(ComponentNetRelevancyRegistry const&);
64 ComponentNetRelevancyRegistry();
65
66public:
67 // member functions
68 // NOLINTBEGIN
69 MCNAPI_C ::ComponentNetRelevancyRegistry::NetSerializationCallbacks& registerNetSerialization(
70 ::HashedString const& definitionName,
71 ::std::function<bool(::DefinitionInstanceGroup const&, ::CompoundTag&)> serializationCallback
72 );
73
74 MCNAPI bool
76 // NOLINTEND
77
78public:
79 // destructor thunk
80 // NOLINTBEGIN
81 MCNAPI_C void $dtor();
82 // NOLINTEND
83};
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