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 HashedString;
9// clang-format on
10
11class CommandBlockNameResult {
12public:
13 // CommandBlockNameResult inner types define
14 enum class Result : uchar {
15 Unknown = 0,
16 Succeess = 1,
17 NoBlockName = 2,
18 SetDataError = 3,
19 SetStateError = 4,
20 };
21
22public:
23 // member variables
24 // NOLINTBEGIN
25 ::ll::TypedStorage<1, 1, ::CommandBlockNameResult::Result> mResult;
26 ::ll::TypedStorage<1, 1, bool> mIsComplexAlias;
27 ::ll::TypedStorage<8, 8, ::Block const*> mBlock;
28 ::ll::TypedStorage<8, 24, ::std::vector<::Block const*>> mComplexAliasPostSplitBlocks;
29 // NOLINTEND
30
31public:
32 // prevent constructor by default
33 CommandBlockNameResult();
34
35public:
36 // member functions
37 // NOLINTBEGIN
38 MCAPI CommandBlockNameResult(::HashedString const& originalName, ::Block const* block, bool isComplexAlias);
39
40 MCFOLD ::Block const* getBlock() const;
41
42 MCFOLD ::CommandBlockNameResult::Result getResult() const;
43
44 MCFOLD bool isComplexAlias() const;
45
46 MCAPI bool isSameBlock(::Block const& rhs, bool onlyCompareBlockType, bool compareWithComplexAlias) const;
47
48 MCAPI ~CommandBlockNameResult();
49 // NOLINTEND
50
51public:
52 // constructor thunks
53 // NOLINTBEGIN
54 MCAPI void* $ctor(::HashedString const& originalName, ::Block const* block, bool isComplexAlias);
55 // NOLINTEND
56
57public:
58 // destructor thunk
59 // NOLINTBEGIN
60 MCFOLD void $dtor();
61 // NOLINTEND
62};
Definition Block.h:69
Definition HashedString.h:5