13 using result_type = uint;
18 ::ll::TypedStorage<8, 2552, ::Bedrock::Application::ThreadOwner<::Core::Random, 0>> mRandom;
26 virtual bool nextBoolean() ;
28 virtual float nextFloat() ;
30 virtual double nextDouble() ;
32 virtual int nextInt() ;
34 virtual int nextInt(
int n) ;
36 virtual int64 nextLong() ;
38 virtual double nextGaussianDouble() ;
40 virtual void consumeCount(uint count) ;
42 virtual ::std::unique_ptr<::IRandom> fork() ;
50 MCAPI Random(uint seed,
bool onlyUsedDeterministically);
52 MCAPI
float nextFloat(
float min,
float max);
54 MCAPI_C
float nextGaussianFloat();
56 MCAPI
int nextInt(
int min,
int max);
58 MCAPI_C ::glm::vec3 nextVec3(
float f);
60 MCAPI
void setSeed(uint seed);
66 MCAPI_C static ::Random& getThreadLocal();
72 MCAPI static ::Random& mThreadLocalRandom();
80 MCAPI
void* $ctor(uint seed,
bool onlyUsedDeterministically);
92 MCAPI
bool $nextBoolean();
94 MCAPI
float $nextFloat();
96 MCAPI
double $nextDouble();
100 MCAPI
int $nextInt(
int n);
102 MCAPI int64 $nextLong();
104 MCAPI
double $nextGaussianDouble();
106 MCAPI
void $consumeCount(uint count);
108 MCAPI ::std::unique_ptr<::IRandom> $fork();