LeviLamina
Loading...
Searching...
No Matches
BlockDescription.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/block/definition/BlockMenuCategory.h"
7#include "mc/world/level/block/registry/VanillaBlockData.h"
8
9// auto generated forward declare list
10// clang-format off
12namespace BlockTrait { class ITrait; }
13// clang-format on
14
16public:
17 // BlockDescription inner types declare
18 // clang-format off
19 struct BlockTraits;
20 // clang-format on
21
22 // BlockDescription inner types define
23 struct BlockTraits {
24 public:
25 // member variables
26 // NOLINTBEGIN
27 ::ll::TypedStorage<8, 64, ::std::unordered_map<::std::string, ::std::shared_ptr<::BlockTrait::ITrait>>> mMap;
28 // NOLINTEND
29
30 public:
31 // prevent constructor by default
34
35 public:
36 // member functions
37 // NOLINTBEGIN
38 MCFOLD ::BlockDescription::BlockTraits& operator=(::BlockDescription::BlockTraits const&);
39 // NOLINTEND
40 };
41
42public:
43 // member variables
44 // NOLINTBEGIN
45 ::ll::TypedStorage<8, 32, ::std::string> mIdentifier;
46 ::ll::TypedStorage<4, 8, ::VanillaBlockData> mVanillaBlockData;
47 ::ll::TypedStorage<8, 24, ::std::vector<::BlockStateDefinition>> mStates;
48 ::ll::TypedStorage<8, 40, ::BlockMenuCategory> mMenuCategory;
49 ::ll::TypedStorage<8, 64, ::BlockDescription::BlockTraits> mTraits;
50 ::ll::TypedStorage<1, 1, bool> mIsBaseGameBlock;
51 // NOLINTEND
52
53public:
54 // member functions
55 // NOLINTBEGIN
56 MCAPI BlockDescription();
57
59
61
62 MCAPI ::BlockDescription& operator=(::BlockDescription&&);
63
64 MCAPI ::BlockDescription& operator=(::BlockDescription const&);
65
66 MCAPI ~BlockDescription();
67 // NOLINTEND
68
69public:
70 // constructor thunks
71 // NOLINTBEGIN
72 MCAPI void* $ctor();
73
74 MCAPI void* $ctor(::BlockDescription const&);
75
76 MCAPI void* $ctor(::BlockDescription&&);
77 // NOLINTEND
78
79public:
80 // destructor thunk
81 // NOLINTBEGIN
82 MCAPI void $dtor();
83 // NOLINTEND
84};
Definition BlockDescription.h:23
Definition BlockDescription.h:15
Definition BlockStateDefinition.h:13