LeviLamina
Loading...
Searching...
No Matches
WeightedRandomBlock.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7class Block;
8namespace cereal { struct ReflectionCtx; }
9// clang-format on
10
11namespace Editor {
12
13struct WeightedRandomBlock {
14public:
15 // member variables
16 // NOLINTBEGIN
19 // NOLINTEND
20
21public:
22 // prevent constructor by default
23 WeightedRandomBlock& operator=(WeightedRandomBlock const&);
24 WeightedRandomBlock(WeightedRandomBlock const&);
25 WeightedRandomBlock();
26
27public:
28 // member functions
29 // NOLINTBEGIN
30 MCNAPI WeightedRandomBlock(::Block const* block, int weight);
31
32 MCNAPI int getWeight() const;
33 // NOLINTEND
34
35public:
36 // static functions
37 // NOLINTBEGIN
38 MCNAPI static void bindType(::cereal::ReflectionCtx& ctx);
39 // NOLINTEND
40
41public:
42 // constructor thunks
43 // NOLINTBEGIN
44 MCNAPI void* $ctor(::Block const* block, int weight);
45 // NOLINTEND
46};
47
48} // namespace Editor
Definition Block.h:69
MCAPI int getWeight() const
MCAPI WeightedRandomBlock(::Block const *block, int weight)
MCAPI void * $ctor(::Block const *block, int weight)
static MCAPI void bindType(::cereal::ReflectionCtx &ctx)
Definition ReflectionCtx.h:11
Definition ctx.h:5
Definition Alias.h:14