诸暨麻将添加redis
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

26 lines
409 B

  1. #pragma once
  2. #include "Stdafx.h"
  3. class GetRandom
  4. {
  5. public:
  6. GetRandom();
  7. ~GetRandom();
  8. public:
  9. static STRUCTRANDOMALL RandomData1; //随机序列
  10. static CFile gFile; //文件句柄
  11. static BOOL bRun; //运行
  12. public:
  13. //获取随机数
  14. static DWORD GetRandomValue();
  15. //重新生成随机数
  16. static bool CreateAllRandomValue();
  17. //加载
  18. static bool Load();
  19. //保存
  20. static bool End();
  21. };