mirror of
https://onedev.site.tesses.net/tesses-framework
synced 2026-02-09 00:05:46 +00:00
Push failed torrent code as backup before I remove it
This commit is contained in:
15
include/TessesFramework/Random.hpp
Normal file
15
include/TessesFramework/Random.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "Common.hpp"
|
||||
|
||||
namespace Tesses::Framework {
|
||||
class Random {
|
||||
uint64_t num;
|
||||
public:
|
||||
Random();
|
||||
Random(uint64_t seed);
|
||||
uint64_t Next();
|
||||
uint32_t Next(uint32_t max);
|
||||
int32_t Next(int32_t min,int32_t max);
|
||||
uint8_t NextByte();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user