Constants.cs 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace OpenCards.Core.Protocol
  5. {
  6. public static class Constants
  7. {
  8. public const int CONNECT_START = 0x32000;
  9. public const int SESSION_START = 0x33000;
  10. public const int LOGIC_COMMON_START = 0x35000;
  11. public const int LOGIC_PACKAGE_START = 0x35100;
  12. public const int LOGIC_FIGHT_START = 0x35200;
  13. public const int LOGIC_ROLE_START = 0x35300;
  14. public const int LOGIC_HERO_START = 0x35310;
  15. public const int LOGIC_ACTIVITY_START = 0x35400;
  16. public const int LOGIC_TASK_START = 0x35500;
  17. public const int LOGIC_TOWER_START = 0x35600;
  18. public const int LOGIC_FORMATION_START = 0x35700;
  19. public const int LOGIC_SHOP_START = 0x35800;
  20. public const int LOGIC_GUILD_START = 0x35900;
  21. public const int LOGIC_LLLUSTRATED_BOOK_START = 0x36000;
  22. public const int LOGIC_HISTORICAL_ARCHIVES_START = 0x36100;
  23. public const int LOGIC_EQUIP_START = 0x36200;
  24. public const int LOGIC_COPY_START = 0x36300;
  25. public const int LOGIC_ARTIFACT_START = 0x36400;
  26. public const int LOGIC_PAY_START = 0x36500;
  27. public const int LOGIC_SUMMON_START = 0x37000;
  28. public const int LOGIC_CRYSTAL_START = 0x37100;
  29. public const int LOGIC_GUILD_HUNTER_START = 0x37200;
  30. public const int LOGIC_MAIL_START = 0x37300;
  31. public const int LOGIC_BOUNTY_START = 0x37400;
  32. public const int LOGIC_LIFE_TREE_START = 0x37500;
  33. public const int LOGIC_ATLANTIS_ACTIVITY__START = 0x37600;
  34. public const int LOGIC_GUILD_SECRETCAVE_START = 0x37700;
  35. public const int LOGIC_RED_DOT_START = 0x37800;
  36. public const int LOGIC_MAZE_START = 0x37900;
  37. public const int LOGIC_FRIEND_START = 0x38000;
  38. public const int LOGIC_TIMEREWARD_START = 0x38100;
  39. public const int LOGIC_WORLD_MAP_START = 0x38200;
  40. public const int LOGIC_CHAT_START = 0x38300;
  41. public const int LOGIC_HOT_START = 0x38400;
  42. public const int LOGIC_LOGIN_POPUP = 0x38500;
  43. public const int LOGIC_EXCHANGE_INFO = 0x38600;
  44. public const int LOGIC_DUNGEON_INFO = 0x38700;
  45. public const int LOGIC_HALLOWS_INFO = 0x38800;
  46. public const int LOGIC_ARENA_START = 0x39000;
  47. public const int LOGIC_MARKET_START = 0x40000;
  48. public const int LOGIC_ADS_START = 0x40100;
  49. public const int LOGIC_TIME_LIMITED_ACTIVITY_START = 0x40200;
  50. //xp
  51. public const int LOGIC_HONOUR_RANK = 0x50000;
  52. public const int LOGIC_ROLE_LEVEL = 0x50100;
  53. public const int LOGIC_CHECK_ROLE_INFO = 0x50200;
  54. public const int LOGIC_CDK = 0x50300;
  55. public const int LOGIC_ROLE_INFOMATION = 0x50400;
  56. public const int LOGIC_LOGIN_SIGN = 0x50500;
  57. public const int LOGIC_NEWER_GUIDE = 0x50600;
  58. public const int LOGIC_VOID_GUEST_START = 0x50700;
  59. public const int LOGIC_HERO_WAY_START = 0x50800;
  60. public const int LOGIC_STAGE_RANK_START = 0x50900;
  61. public const int LOGIC_FEEDBACK_START = 0x51000;
  62. public const int LOGIC_WISH_SUMMON_ACTIVITY_START = 0x52000;
  63. public const int LOGIC_LACK_OF_RESOURCE_STRAT = 0x53000;
  64. public const int LOGIC_NEW_GUILD_BOSS = 0x54000;
  65. public const int LOGIC_ACCUMULATIVE_LOGIN_DAYS = 0x55000;
  66. public const int LOGIC_NEWSERVER_ACTIVITY_START = 0x56000;
  67. }
  68. public class MODULESTATUS
  69. {
  70. public const int STATUS_CLOSE = 0;
  71. public const int STATUS_OPEN = 1;
  72. }
  73. }