Skip to content
LeviMC
English
AutoLightDark
LeviLamina
Loading...
Searching...
No Matches
Traits.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/shared_types/v1_26_20/block/Connection.h"
7#include "mc/deps/shared_types/v1_26_20/block/MultiBlock.h"
8#include "mc/deps/shared_types/v1_26_20/block/PlacementDirection.h"
9#include "mc/deps/shared_types/v1_26_20/block/PlacementPosition.h"
10
11// auto generated forward declare list
12// clang-format off
13namespace cereal { struct ReflectionCtx; }
14// clang-format on
15
16namespace SharedTypes::v1_26_20::BlockDefinition {
17
18struct Traits {
19public:
20 // Traits inner types define
21 using TraitVariant = ::std::variant<
26
27public:
28 // member variables
29 // NOLINTBEGIN
30 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_26_20::BlockDefinition::Connection>> mConnection;
31 ::ll::TypedStorage<2, 8, ::std::optional<::SharedTypes::v1_26_20::BlockDefinition::MultiBlock>> mMultiBlock;
32 ::ll::TypedStorage<8, 48, ::std::optional<::SharedTypes::v1_26_20::BlockDefinition::PlacementDirection>>
33 mPlacementDirection;
34 ::ll::TypedStorage<1, 2, ::std::optional<::SharedTypes::v1_26_20::BlockDefinition::PlacementPosition>>
35 mPlacementPosition;
36 // NOLINTEND
37
38public:
39 // member functions
40 // NOLINTBEGIN
42
43 MCNAPI ~Traits();
44 // NOLINTEND
45
46public:
47 // static functions
48 // NOLINTBEGIN
49 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
50 // NOLINTEND
51
52public:
53 // static variables
54 // NOLINTBEGIN
55 MCNAPI static ::std::string_view const& CONNECTION_ID();
56
57 MCNAPI static ::std::string_view const& MULTI_BLOCK_ID();
58
59 MCNAPI static ::std::string_view const& PLACEMENT_DIRECTION_ID();
60
61 MCNAPI static ::std::string_view const& PLACEMENT_POSITION_ID();
62 // NOLINTEND
63
64public:
65 // destructor thunk
66 // NOLINTBEGIN
67 MCNAPI void $dtor();
68 // NOLINTEND
69};
70
71} // namespace SharedTypes::v1_26_20::BlockDefinition
static MCAPI ::std::string_view const & CONNECTION_ID()
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
static MCAPI ::std::string_view const & PLACEMENT_DIRECTION_ID()
MCAPI bool operator==(::SharedTypes::v1_26_20::BlockDefinition::Traits const &) const
static MCAPI ::std::string_view const & PLACEMENT_POSITION_ID()
static MCAPI ::std::string_view const & MULTI_BLOCK_ID()
Definition ReflectionCtx.h:11
Definition ctx.h:5