LeviLamina
Loading...
Searching...
No Matches
BlockMaskList.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/common/editor/OperationType.h"
7
8// auto generated forward declare list
9// clang-format off
10class Block;
11class HashedString;
12namespace cereal { struct ReflectionCtx; }
13// clang-format on
14
15namespace Editor::BlockMask {
16
17class BlockMaskList {
18public:
19 // member variables
20 // NOLINTBEGIN
24 // NOLINTEND
25
26public:
27 // prevent constructor by default
28 BlockMaskList& operator=(BlockMaskList const&);
29 BlockMaskList(BlockMaskList const&);
30 BlockMaskList();
31
32public:
33 // member functions
34 // NOLINTBEGIN
35 MCNAPI void addBlock(::Block const* block);
36
37#ifdef LL_PLAT_C
38 MCNAPI bool containsBlock(::Block const* block) const;
39
40 MCNAPI bool containsBlock(::HashedString const& blockName) const;
41#endif
42
43 MCNAPI void fromStringList(::std::vector<::std::string> const& blockNames);
44
45#ifdef LL_PLAT_C
46 MCNAPI bool const getAlwaysMatch() const;
47
48 MCNAPI ::Editor::BlockMask::OperationType getOperationType() const;
49#endif
50
51 MCNAPI bool isDisabled() const;
52
53 MCNAPI bool match(::Block const* block) const;
54
55#ifdef LL_PLAT_C
56 MCNAPI void setAlwaysMatch(bool alwaysMatch);
57#endif
58
59 MCNAPI void setOperationType(::Editor::BlockMask::OperationType operationType);
60
62 // NOLINTEND
63
64public:
65 // static functions
66 // NOLINTBEGIN
67 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
68 // NOLINTEND
69
70public:
71 // destructor thunk
72 // NOLINTBEGIN
73 MCNAPI void $dtor();
74 // NOLINTEND
75};
76
77} // namespace Editor::BlockMask
Definition Block.h:69
MCAPI bool match(::Block const *block) const
MCAPI void setOperationType(::Editor::BlockMask::OperationType operationType)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI void addBlock(::Block const *block)
MCAPI void fromStringList(::std::vector<::std::string > const &blockNames)
Definition HashedString.h:5
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14