LeviLamina
Loading...
Searching...
No Matches
Randomize.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/utility/NonOwnerPointer.h"
7
8// auto generated forward declare list
9// clang-format off
10class Random;
11// clang-format on
12
13class Randomize {
14public:
15 // member variables
16 // NOLINTBEGIN
17 ::ll::TypedStorage<8, 24, ::Bedrock::NonOwnerPointer<::Random>> mRandom;
18 // NOLINTEND
19
20public:
21 // prevent constructor by default
22 Randomize();
23
24public:
25 // member functions
26 // NOLINTBEGIN
27 MCNAPI explicit Randomize(::Random& random);
28
29 MCNAPI bool chanceFloatGreaterThan(float improbability) const;
30
31 MCNAPI ~Randomize();
32 // NOLINTEND
33
34public:
35 // static variables
36 // NOLINTBEGIN
38 // NOLINTEND
39
40public:
41 // constructor thunks
42 // NOLINTBEGIN
43 MCNAPI void* $ctor(::Random& random);
44 // NOLINTEND
45
46public:
47 // destructor thunk
48 // NOLINTBEGIN
49 MCNAPI void $dtor();
50 // NOLINTEND
51};
Definition Random.h:11
Definition Randomize.h:13
MCAPI void $dtor()
MCAPI Randomize(::Random &random)
MCAPI bool chanceFloatGreaterThan(float improbability) const
MCAPI void * $ctor(::Random &random)
static MCAPI float const & ChanceFloatGreaterThan_MinExcessiveImprobability()
MCAPI ~Randomize()