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> mCullingShapeName;
26 ::ll::TypedStorage<8, 48, ::HashedString> mCullingLayer;
27 ::ll::TypedStorage<8, 16, ::std::map<::std::string, ::ExpressionNode>> mBoneVisibilities;
28 ::ll::TypedStorage<8, 24, ::std::variant<bool, ::std::set<::HashedString>>> mUVsLocked;
29 ::ll::TypedStorage<4, 52, ::BlockRendererDescription> mRenderer;
30 // NOLINTEND
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCAPI Proxy();
36
37 MCAPI Proxy(::BlockGeometrySerializer::Proxy const&);
38
39 MCAPI ::std::map<::std::string, ::SharedTypes::Legacy::ExpressionNode> getBoneVisibility() const;
40
41 MCAPI ::BlockGeometrySerializer::Proxy& operator=(::BlockGeometrySerializer::Proxy&&);
42
43 MCAPI ::BlockGeometrySerializer::Proxy& operator=(::BlockGeometrySerializer::Proxy const&);
44
45 MCAPI void setBoneVisibility(::std::map<::std::string, ::SharedTypes::Legacy::ExpressionNode>& boneVisibilities);
46
47 MCAPI ~Proxy();
48 // NOLINTEND
49
50public:
51 // static functions
52 // NOLINTBEGIN
53 MCAPI static void bindTypes(::cereal::ReflectionCtx& ctx);
54
55 MCAPI static void from(::BlockGeometryDescription& desc, ::BlockGeometrySerializer::Proxy proxy);
56
57 MCAPI static ::BlockGeometrySerializer::Proxy to(::BlockGeometryDescription const& desc);
58 // NOLINTEND
59
60public:
61 // constructor thunks
62 // NOLINTBEGIN
63 MCAPI void* $ctor();
64
65 MCAPI void* $ctor(::BlockGeometrySerializer::Proxy const&);
66 // NOLINTEND
67
68public:
69 // destructor thunk
70 // NOLINTBEGIN
71 MCAPI void $dtor();
72 // NOLINTEND
73};
74
75} // namespace BlockGeometrySerializer
Definition ExpressionNode.h:34
Definition BlockGeometryDescription.h:20
Definition Proxy.h:19
Definition ExpressionNode.h:12
Definition ReflectionCtx.h:11
Definition ctx.h:5