诸暨麻将添加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.
 
 
 
 
 
 

33 lines
1003 B

  1. #ifndef CONTROL_PACKET_HEAD_FILE
  2. #define CONTROL_PACKET_HEAD_FILE
  3. //////////////////////////////////////////////////////////////////////////////////
  4. //事件结果
  5. #define ER_FAILURE 0 //失败标志
  6. #define ER_SUCCESS 1 //成功标志
  7. //////////////////////////////////////////////////////////////////////////////////
  8. //界面数据包
  9. #define UI_CORRESPOND_RESULT 1 //登录结果
  10. #define UI_LOAD_DB_LIST_RESULT 2 //列表成功
  11. //////////////////////////////////////////////////////////////////////////////////
  12. //控制数据包
  13. #define CT_CONNECT_CORRESPOND 100 //连接登录
  14. #define CT_LOAD_DB_GAME_LIST 101 //加载列表
  15. #define CT_LOAD_CHECKIN_REWARD 102 //加载奖励
  16. //////////////////////////////////////////////////////////////////////////////////
  17. //控制结果
  18. struct CP_ControlResult
  19. {
  20. BYTE cbSuccess; //成功标志
  21. };
  22. //////////////////////////////////////////////////////////////////////////////////
  23. #endif