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#ifdef LL_PLAT_C
33 MCNAPI bool containsBlock(::HashedString const& blockName) const;
34#endif
35
36 MCNAPI void fromStringList(::std::vector<::std::string> const& blockNames);
37
38#ifdef LL_PLAT_C
39 MCNAPI bool match(::Block const* block) const;
40#endif
41
42 MCNAPI ::std::vector<::std::string> toStringList() const;
43
45 // NOLINTEND
46
47public:
48 // static functions
49 // NOLINTBEGIN
50 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
51 // NOLINTEND
52
53public:
54 // destructor thunk
55 // NOLINTBEGIN
56 MCNAPI void $dtor();
57 // NOLINTEND
58};
59
60} // 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