LeviLamina
Loading...
Searching...
No Matches
BlockMaskList.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;
9namespace cereal { struct ReflectionCtx; }
10// clang-format on
11
12namespace Editor::BlockMask {
13
14class BlockMaskList {
15public:
16 // member variables
17 // NOLINTBEGIN
21 // NOLINTEND
22
23public:
24 // prevent constructor by default
25 BlockMaskList& operator=(BlockMaskList const&);
26 BlockMaskList(BlockMaskList const&);
27 BlockMaskList();
28
29public:
30 // member functions
31 // NOLINTBEGIN
32 MCNAPI_C bool containsBlock(::HashedString const& blockName) const;
33
34 MCNAPI void fromStringList(::std::vector<::std::string> const& blockNames);
35
36 MCNAPI_C bool match(::Block const* block) const;
37
38 MCNAPI ::std::vector<::std::string> toStringList() const;
39
41 // NOLINTEND
42
43public:
44 // static functions
45 // NOLINTBEGIN
46 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
47 // NOLINTEND
48
49public:
50 // destructor thunk
51 // NOLINTBEGIN
52 MCNAPI void $dtor();
53 // NOLINTEND
54};
55
56} // namespace Editor::BlockMask
Definition Block.h:43
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
MCAPI ::std::vector<::std::string > toStringList() const
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