13 using result_type = uint;
18 ::ll::TypedStorage<8, 2536, ::Bedrock::Application::ThreadOwner<::Core::Random, 0>> mRandom;
24 virtual ~Random() =
default;
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);
53 MCAPI
float nextGaussianFloat();
60 MCAPI static ::Random& mThreadLocalRandom();
68 MCAPI
void* $ctor(uint seed,
bool onlyUsedDeterministically);
74 MCAPI
bool $nextBoolean();
76 MCAPI
float $nextFloat();
78 MCAPI
double $nextDouble();
82 MCAPI
int $nextInt(
int n);
84 MCAPI int64 $nextLong();
86 MCAPI
double $nextGaussianDouble();
88 MCAPI
void $consumeCount(uint count);
90 MCAPI ::std::unique_ptr<::IRandom> $fork();