Files
MinecraftConsoles/Minecraft.World/Random.h
void_17 b9a2951901 Revert "Get rid of MSVC's __int64"
This reverts commit d63f79325f.
2026-03-02 17:39:35 +07:00

23 lines
405 B
C++

#pragma once
class Random
{
private:
__int64 seed;
bool haveNextNextGaussian;
double nextNextGaussian;
protected:
int next(int bits);
public:
Random();
Random(__int64 seed);
void setSeed(__int64 s);
void nextBytes(byte *bytes, unsigned int count);
double nextDouble();
double nextGaussian();
int nextInt();
int nextInt(int to);
float nextFloat();
__int64 nextLong();
bool nextBoolean();
};