Tables.h
上传用户:tt_chan
上传日期:2009-12-03
资源大小:4523k
文件大小:2k
源码类别:

模拟服务器

开发平台:

Visual C++

  1. #define _MAKEITEMINDEX 12
  2. class CMonItem
  3. {
  4. public:
  5. int m_nPoint;
  6. BYTE m_btItemType;
  7. WORD m_wItemIndex;
  8. WORD m_wCount;
  9. };
  10. class CMonRaceInfo
  11. {
  12. public:
  13. int nIndex;
  14. char szMonName[14];
  15. int nMonRace;
  16. int nAppear;
  17. BYTE btUndead;
  18. BYTE Level;
  19. WORD HP;
  20. WORD MP;
  21. WORD AC;
  22. WORD MAC;
  23. WORD DC;
  24. WORD MC;
  25. DWORD dwAttackSpeed;
  26. DWORD dwWalkSpeed;
  27. BYTE ViewRange;
  28. WORD Speed;
  29. WORD Hit;
  30. WORD wRaceIndex;
  31. WORD Exp;
  32. WORD wEscape;
  33. WORD m_wWater;
  34. WORD m_wFire;
  35. WORD m_wWind;
  36. WORD m_wLight;
  37. WORD m_wEarth;
  38. CWHList<CMonItem*> m_xMonItemList;
  39. };
  40. class CMonsterGenInfo
  41. {
  42. public:
  43. char szMapName[14];
  44. int nX;
  45. int nY;
  46. char szMonName[14];
  47. int nMonIndex;
  48. int nAreaX;
  49. int nAreaY;
  50. int nCount;
  51. DWORD dwZenTime;
  52. DWORD dwStartTime;
  53. CWHList<CMonsterObject*> xMonsterObjList; // MonList
  54. int nSmallZenRate;
  55. };
  56. typedef struct tag_TMONSTER
  57. {
  58. char szName[14];
  59. BYTE btRace;
  60. BYTE btRaceImg;
  61. WORD wAppr;
  62. BYTE btLevel;
  63. BYTE btLifeAttrib;
  64. WORD wExp;
  65. WORD wHP;
  66. BYTE btAC;
  67. BYTE btMAC;
  68. BYTE btDC;
  69. BYTE btMaxDC;
  70. BYTE btMC;
  71. BYTE btSC;
  72. BYTE btSpeed;
  73. BYTE btHit;
  74. WORD wWalkSpeed;
  75. WORD wAttackSpeed;
  76. //Item List
  77. } _TMONSTER, *_LPTMONSTER;
  78. class CMapInfo
  79. {
  80. public:
  81. char szMapFileName[14];
  82. char szMapName[40];
  83. DWORD dwAttribute;
  84. BYTE btMapSeries;
  85. BYTE btMapSeriesValue;
  86. };
  87. class CMoveMapEventInfo
  88. {
  89. public:
  90. char szSMapFileName[14];
  91. int nSX;
  92. int nSY;
  93. char szDMapFileName[14];
  94. int nDX;
  95. int nDY;
  96. BOOL fIsOpen;
  97. };
  98. class CMerchantInfo
  99. {
  100. public:
  101. char szMapName[14];
  102. int nPosX;
  103. int nPosY;
  104. char szNPCName[40];
  105. short sFace;
  106. short sBody;
  107. short sGender;
  108. };