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<8, 24, ::std::variant<::ConstantInt, ::UniformInt>> mProvider;
20 // NOLINTEND
21
22public:
23 // virtual functions
24 // NOLINTBEGIN
25 virtual int sample(::IRandom& random) const /*override*/;
26
27 virtual int maxValue() const /*override*/;
28
29 virtual int minValue() const /*override*/;
30 // NOLINTEND
31
32public:
33 // virtual function thunks
34 // NOLINTBEGIN
35 MCAPI int $sample(::IRandom& random) const;
36
37 MCAPI int $maxValue() const;
38
39 MCAPI int $minValue() const;
40
41
42 // NOLINTEND
43
44public:
45 // vftables
46 // NOLINTBEGIN
47 MCNAPI static void** $vftable();
48 // NOLINTEND
49};
Definition IRandom.h:10
Definition IntProviderType.h:10
Definition IntProvider.h:15
static MCAPI void ** $vftable()