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
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&);
27
28public:
29 // virtual functions
30 // NOLINTBEGIN
31 // vIndex: 1
32 virtual int sample(::IRandom& random) const /*override*/;
33
34 // vIndex: 2
35 virtual int maxValue() const /*override*/;
36
37 // vIndex: 3
38 virtual int minValue() const /*override*/;
39
40 // vIndex: 0
41 virtual ~IntProvider() /*override*/;
42 // NOLINTEND
43
44public:
45 // member functions
46 // NOLINTBEGIN
47 MCAPI ::IntProvider& operator=(::IntProvider&&);
48 // NOLINTEND
49
50public:
51 // destructor thunk
52 // NOLINTBEGIN
53 MCAPI void $dtor();
54 // NOLINTEND
55
56public:
57 // virtual function thunks
58 // NOLINTBEGIN
59 MCAPI int $sample(::IRandom& random) const;
60
61 MCAPI int $maxValue() const;
62
63 MCAPI int $minValue() const;
64 // NOLINTEND
65
66public:
67 // vftables
68 // NOLINTBEGIN
69 MCNAPI static void** $vftable();
70 // NOLINTEND
71};
Definition IRandom.h:13
Definition IntProviderType.h:10
Definition IntProvider.h:15
static MCAPI void ** $vftable()