LeviLamina
Loading...
Searching...
No Matches
CommandBlockNameResult.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8class BlockState;
9class HashedString;
10// clang-format on
11
12class CommandBlockNameResult {
13public:
14 // CommandBlockNameResult inner types define
15 enum class Result : uchar {
16 Unknown = 0,
17 Succeess = 1,
18 NoBlockName = 2,
19 SetDataError = 3,
20 SetStateError = 4,
21 };
22
23public:
24 // member variables
25 // NOLINTBEGIN
26 ::ll::TypedStorage<1, 1, ::CommandBlockNameResult::Result> mResult;
27 ::ll::TypedStorage<1, 1, bool> mIsComplexAlias;
28 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
29 ::ll::TypedStorage<8, 24, ::std::vector<::Block const*>> mComplexAliasPostSplitBlocks;
30 ::ll::TypedStorage<8, 24, ::std::vector<::BlockState const*>> mStatesToCompare;
31 // NOLINTEND
32
33public:
34 // prevent constructor by default
35 CommandBlockNameResult();
36
37public:
38 // member functions
39 // NOLINTBEGIN
40 MCAPI CommandBlockNameResult(
41 ::HashedString const& originalName,
42 ::Block const* block,
43 bool isComplexAlias,
44 ::std::vector<::BlockState const*> statesToCompare
45 );
46
47 MCAPI bool isSameBlock(::Block const& rhs, bool onlyCompareBlockType, bool compareWithComplexAlias) const;
48
49 MCAPI ~CommandBlockNameResult();
50 // NOLINTEND
51
52public:
53 // constructor thunks
54 // NOLINTBEGIN
55 MCAPI void* $ctor(
56 ::HashedString const& originalName,
57 ::Block const* block,
58 bool isComplexAlias,
59 ::std::vector<::BlockState const*> statesToCompare
60 );
61 // NOLINTEND
62
63public:
64 // destructor thunk
65 // NOLINTBEGIN
66 MCAPI void $dtor();
67 // NOLINTEND
68};
Definition BlockState.h:14
Definition Block.h:41
Definition HashedString.h:5