LeviLamina
Loading...
Searching...
No Matches
Proxy.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/string/HashedString.h"
7#include "mc/world/level/block/components/BlockRendererDescription.h"
8
9// auto generated forward declare list
10// clang-format off
11class ExpressionNode;
13namespace SharedTypes::Legacy { struct ExpressionNode; }
14namespace cereal { struct ReflectionCtx; }
15// clang-format on
16
17namespace BlockGeometrySerializer {
18
19struct Proxy {
20public:
21 // member variables
22 // NOLINTBEGIN
23 ::ll::TypedStorage<8, 48, ::HashedString> mGeometryName;
24 ::ll::TypedStorage<8, 48, ::HashedString> mCullingName;
25 ::ll::TypedStorage<8, 48, ::HashedString> mCullingLayer;
26 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::ExpressionNode>> mBoneVisibilities;
27 ::ll::TypedStorage<8, 24, ::std::variant<bool, ::std::set<::HashedString>>> mUVsLocked;
28 ::ll::TypedStorage<4, 52, ::BlockRendererDescription> mRenderer;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 Proxy();
34
35public:
36 // member functions
37 // NOLINTBEGIN
39
40 MCAPI ::std::map<::std::string, ::SharedTypes::Legacy::ExpressionNode> getBoneVisibility() const;
41
42 MCAPI ::BlockGeometrySerializer::Proxy& operator=(::BlockGeometrySerializer::Proxy&&);
43
44 MCAPI ::BlockGeometrySerializer::Proxy& operator=(::BlockGeometrySerializer::Proxy const&);
45
46 MCAPI void setBoneVisibility(::std::map<::std::string, ::SharedTypes::Legacy::ExpressionNode>& boneVisibilities);
47
48 MCAPI ~Proxy();
49 // NOLINTEND
50
51public:
52 // static functions
53 // NOLINTBEGIN
54 MCAPI static void bindTypes(::cereal::ReflectionCtx& ctx);
55
56 MCAPI static void from(::BlockGeometryDescription& desc, ::BlockGeometrySerializer::Proxy proxy);
57
58 MCAPI static ::BlockGeometrySerializer::Proxy to(::BlockGeometryDescription const& desc);
59 // NOLINTEND
60
61public:
62 // constructor thunks
63 // NOLINTBEGIN
64 MCAPI void* $ctor(::BlockGeometrySerializer::Proxy const&);
65 // NOLINTEND
66
67public:
68 // destructor thunk
69 // NOLINTBEGIN
70 MCAPI void $dtor();
71 // NOLINTEND
72};
73
74} // namespace BlockGeometrySerializer
Definition ExpressionNode.h:28
Definition BlockGeometryDescription.h:19
Definition Proxy.h:19
Definition ReflectionCtx.h:11
Definition ctx.h:5