Global.h
上传用户:szopptop
上传日期:2013-04-23
资源大小:1047k
文件大小:2k
源码类别:

模拟服务器

开发平台:

Visual C++

  1. #pragma once
  2. extern HANDLE g_hIOCP; // Defined in /Def/ServerSockHandler.cpp
  3. extern HINSTANCE g_hInst;
  4. extern HWND g_hMainWnd;
  5. extern HWND g_hLogMsgWnd;
  6. extern HWND g_hToolBar;
  7. extern HWND g_hStatusBar;
  8. extern int g_nStatusPartsWidths[_NUMOFMAX_STATUS_PARTS];
  9. extern TBBUTTON tbButtons[5]; 
  10. extern CDatabase g_MirDB;
  11. extern CConnection *g_pConnCommon;
  12. extern CConnection *g_pConnGame;
  13. extern CWHList<char *> g_xAdminCommandList;
  14. extern CWHList<char *> g_xUserCommandList;
  15. extern CWHList<CUserInfo*> g_xLoginOutUserInfo;
  16. extern CWHList<CUserInfo*> g_xReadyList;
  17. extern CWHList<CUserInfo*> g_xUserInfoList;
  18. extern CStaticArray<CUserInfo> g_xUserInfoArr;
  19. extern CStaticArray<CPlayerObject> g_xPlayerObjectArr;
  20. extern CWHList<CReadyUserInfo*> g_xReadyUserInfoList;
  21. extern CWHList<CReadyUserInfo2*> g_xReadyUserInfoList2;
  22. extern CWHList<CEvent*> g_xEventList;
  23. extern CWHList<CEvent*> g_xEventCloseList;
  24. extern CWHList<CHolySeizeInfo*> g_xHolySeizeList;
  25. extern CWHList<CMerchantObject*> g_xMerchantObjList;
  26. extern BOOL g_fInitMerchant;
  27. extern CWHList<CNPCObject*> g_xNPCObjList;
  28. extern CWHList<CGateInfo*> g_xGateList;
  29. extern int g_nMirDayTime;
  30. // General Standard Data
  31. extern CWHList<CMirMap*> g_xMirMapList;
  32. extern CMoveMapEventInfo* g_pMoveMapEventInfo;
  33. extern int g_nNumOfMoveMapEventInfo;
  34. extern CMagicInfo* g_pMagicInfo;
  35. extern int g_nNumOfMagicInfo;
  36. extern CMonsterGenInfo* g_pMonGenInfo;
  37. extern int g_nNumOfMonGenInfo;
  38. extern CMonRaceInfo* g_pMonRaceInfo;
  39. extern int g_nNumOfMonRaceInfo;
  40. extern CStdItemSpecial* g_pStdItemSpecial;
  41. extern int g_nStdItemSpecial;
  42. extern CStdItem* g_pStdItemEtc;
  43. extern int g_nStdItemEtc;
  44. extern CMerchantInfo* g_pMerchantInfo;
  45. extern int g_nNumOfMurchantInfo;
  46. extern int g_nNumOfMapInfo;
  47. extern BOOL g_fTerminated;
  48. extern SOCKET g_ssock;
  49. extern SOCKADDR_IN g_saddr;
  50. extern SOCKET g_csock;
  51. extern SOCKADDR_IN g_caddr;
  52. extern SOCKET g_clsock;
  53. extern SOCKADDR_IN g_claddr;
  54. extern _TSEARCHTABLE g_SearchTable[_MAX_SEARCHTABLE];
  55. extern char g_szGoldName[8];
  56. extern DWORD NEEDEXPS[MAXLEVEL];
  57. extern HANDLE g_hThreadForComm;
  58. extern HANDLE g_hSvrMsgEvnt;
  59. extern CWHList<CScripterObject*> g_xScripterList;