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