LeviLamina
Loading...
Searching...
No Matches
IntProvider.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/world/level/levelgen/v2/providers/ConstantInt.h"
7#include "mc/world/level/levelgen/v2/providers/IntProviderType.h"
8#include "mc/world/level/levelgen/v2/providers/UniformInt.h"
9
10// auto generated forward declare list
11// clang-format off
12class IRandom;
13// clang-format on
14
15struct IntProvider : public ::IntProviderType {
16public:
17 // member variables
18 // NOLINTBEGIN
19 ::ll::TypedStorage<4, 24, ::std::variant<::ConstantInt, ::UniformInt>> mProvider;
20 // NOLINTEND
21
22public:
23 // prevent constructor by default
24 IntProvider& operator=(IntProvider const&);
25 IntProvider(IntProvider const&);
26 IntProvider();
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 virtual int sample(::IRandom& random) const /*override*/;
32
33 virtual int maxValue() const /*override*/;
34
35 virtual int minValue() const /*override*/;
36
37 virtual ~IntProvider() /*override*/;
38 // NOLINTEND
39
40public:
41 // member functions
42 // NOLINTBEGIN
43 MCAPI ::IntProvider& operator=(::IntProvider&&);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCAPI void $dtor();
50 // NOLINTEND
51
52public:
53 // virtual function thunks
54 // NOLINTBEGIN
55 MCAPI int $sample(::IRandom& random) const;
56
57 MCAPI int $maxValue() const;
58
59 MCAPI int $minValue() const;
60
61
62 // NOLINTEND
63
64public:
65 // vftables
66 // NOLINTBEGIN
67 MCNAPI static void** $vftable();
68 // NOLINTEND
69};
Definition IRandom.h:13
Definition IntProviderType.h:10
static MCAPI void ** $vftable()