LeviLamina
Loading...
Searching...
No Matches
BlockState.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/platform/brstd/function_ref.h"
8
9// auto generated forward declare list
10// clang-format off
11class CompoundTag;
12// clang-format on
13
15public:
16 // BlockState inner types declare
17 // clang-format off
18 struct StateListNode;
19 // clang-format on
20
21 // BlockState inner types define
23 public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<8, 8, ::BlockState::StateListNode*> mNext;
27 ::ll::TypedStorage<8, 8, ::BlockState::StateListNode*> mPrev;
28 ::ll::TypedStorage<8, 8, ::BlockState*> mState;
29 // NOLINTEND
30
31 public:
32 // static variables
33 // NOLINTBEGIN
34 MCAPI static ::BlockState::StateListNode*& mHead();
35 // NOLINTEND
36 };
37
38public:
39 // member variables
40 // NOLINTBEGIN
41 ::ll::TypedStorage<8, 8, uint64 const> mID;
42 ::ll::TypedStorage<8, 8, uint64 const> mVariationCount;
43 ::ll::TypedStorage<8, 48, ::HashedString const> mName;
44 ::ll::TypedStorage<8, 24, ::BlockState::StateListNode> mNode;
45 // NOLINTEND
46
47public:
48 // virtual functions
49 // NOLINTBEGIN
50 virtual ~BlockState();
51
52 virtual void toNBT(::CompoundTag& tag, int val) const = 0;
53
54 virtual bool fromNBT(::CompoundTag const& tag, int& outValue) const = 0;
55 // NOLINTEND
56
57public:
58 // static functions
59 // NOLINTBEGIN
60 MCAPI static void forEachState(::brstd::function_ref<bool(::BlockState const&)> callback);
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68
69public:
70 // virtual function thunks
71 // NOLINTBEGIN
72
73 // NOLINTEND
74
75public:
76 // vftables
77 // NOLINTBEGIN
78 MCNAPI static void** $vftable();
79 // NOLINTEND
80};
Definition BlockState.h:14
static MCAPI void ** $vftable()
Definition CompoundTag.h:23
Definition function_ref.h:60
Definition BlockState.h:22