msg_define.h
上传用户:dzyhzl
上传日期:2019-04-29
资源大小:56270k
文件大小:1k
源码类别:

模拟服务器

开发平台:

C/C++

  1. /********************************************************************
  2. created: 2003/05/30
  3. file base: Msg_define
  4. file ext: h
  5. author: liupeng
  6. purpose:
  7. *********************************************************************/
  8. #ifndef __INCLUDE_MSG_DEFINE_H__
  9. #define __INCLUDE_MSG_DEFINE_H__
  10. #define WM_ENTER_AFFIRM ( WM_USER + 0x100 )
  11. #define WM_LEAVE_AFFIRM ( WM_USER + 0x200 )
  12. #define WM_SERVER_LOGIN_SUCCESSFUL ( WM_USER + 0x300 )
  13. #define WM_SERVER_LOGIN_FAILED ( WM_USER + 0x400 )
  14. #define DBROLESERVER_NOTIFY 0x1
  15. #define ACCOUNTSERVER_NOTIFY 0x2
  16. #define NAME_PWD_LEN 64
  17. #define NAME_PWD_EX_LEN 64
  18. #define CONNECTED TRUE
  19. #define DICONNECTED FALSE
  20. #define WM_SERVER_STATUS ( WM_USER + 0x500 )
  21. #define ADD_GAMESERVER_ACTION 0x1
  22. #define DEL_GAMESERVER_ACTION 0x2
  23. #define WM_GAMESERVER_EXCHANGE ( WM_USER + 0x600 )
  24. #endif // __INCLUDE_MSG_DEFINE_H__