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

32 line
950 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_SERVICE_CONFIG_RESULT 2 //配置结果
  11. //////////////////////////////////////////////////////////////////////////////////
  12. //控制数据包
  13. #define CT_CONNECT_CORRESPOND 100 //连接协调
  14. #define CT_LOAD_SERVICE_CONFIG 101 //加载配置
  15. //////////////////////////////////////////////////////////////////////////////////
  16. //控制结果
  17. struct CP_ControlResult
  18. {
  19. BYTE cbSuccess; //成功标志
  20. };
  21. //////////////////////////////////////////////////////////////////////////////////
  22. #endif