quest.go 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. package enum
  2. // QuestType 任务类型
  3. type QuestType int32
  4. const (
  5. QuestType_None QuestType = 0 // 未知
  6. QuestType_1 QuestType = 1 // 登陆{0}次游戏
  7. QuestType_3 QuestType = 3 // 获得{0}个{1}(游戏)
  8. QuestType_5 QuestType = 5 // 获得{0}个{1}(沙盘)
  9. QuestType_4 QuestType = 4 // 加入/创建1一个联盟
  10. QuestType_101 QuestType = 101 // 领主等级达到{0}级
  11. QuestType_201 QuestType = 201 // 获得{0}个英雄
  12. QuestType_202 QuestType = 202 // {0}个英雄星级达到{1}星
  13. QuestType_205 QuestType = 205 // 上阵{0}名英雄
  14. QuestType_301 QuestType = 301 // 获得{0}件{1}品质装备
  15. QuestType_302 QuestType = 302 // 打造{0}次装备
  16. QuestType_303 QuestType = 303 // 强化{0}件装备至{1}
  17. QuestType_304 QuestType = 304 // 强化{0}次装备
  18. QuestType_305 QuestType = 305 // 打造获得{0}件{1}品质装备
  19. QuestType_306 QuestType = 306 // 穿戴{0}件装备
  20. QuestType_307 QuestType = 307 // 使{0}名英雄装备{1}件装备
  21. QuestType_308 QuestType = 308 // 分解{0}件装备
  22. QuestType_401 QuestType = 401 // 训练{0}个{1}
  23. QuestType_402 QuestType = 402 // 拥有{0}个士兵
  24. QuestType_403 QuestType = 403 // {0}支部队兵力达到{1}
  25. QuestType_501 QuestType = 501 // 探险通关{0}次 {0}次数
  26. QuestType_502 QuestType = 502 // 探险通关{0} {0}关卡ID
  27. QuestType_503 QuestType = 503 // 扫荡关卡{0}次
  28. QuestType_601 QuestType = 601 // 建造{0}
  29. QuestType_602 QuestType = 602 // {0}达到{1}级
  30. QuestType_603 QuestType = 603 // 建造/升级{0}次建筑
  31. QuestType_804 QuestType = 804 // 攻占{0}个{1}级以上的资源田
  32. QuestType_805 QuestType = 805 // {1}产量达到{0}
  33. QuestType_806 QuestType = 806 // 所有资源产量达到{0}
  34. QuestType_901 QuestType = 901 // 攻击城市耐久{0} (系统城、关隘)
  35. QuestType_902 QuestType = 902 // 攻城成功{0}次 (系统城、关隘)
  36. QuestType_903 QuestType = 903 // 参与并成功攻占{0}座{1}城池
  37. QuestType_904 QuestType = 904 // 参与并成功攻占{0}座郡城
  38. QuestType_905 QuestType = 905 // 参与并成功攻占{0}座州府
  39. QuestType_906 QuestType = 906 // 累计拆除{0}点玩家建筑耐久
  40. QuestType_907 QuestType = 907 // 累计消灭{0}城池关卡的驻城部队
  41. QuestType_1001 QuestType = 1001 // 获取功勋{0}
  42. QuestType_1002 QuestType = 1002 // 声望达到{0}
  43. QuestType_1101 QuestType = 1101 // 讨伐贼寇{0}次
  44. // 联盟任务枚举
  45. QuestType_3001 QuestType = 3001 // 联盟等级达到{0}级
  46. QuestType_3003 QuestType = 3003 // 加入{0}个联邦
  47. QuestType_3004 QuestType = 3004 // 添加{0}个友盟
  48. QuestType_3005 QuestType = 3005 // 联盟科技{1}达到{0}级
  49. QuestType_3006 QuestType = 3006 // 建造{0}个联盟建筑{1}
  50. QuestType_3007 QuestType = 3007 // {0}个联盟建筑{1}升级到{2}级
  51. QuestType_3011 QuestType = 3011 // 获取功勋{0}
  52. QuestType_3012 QuestType = 3012 // 讨伐贼寇{0}次
  53. QuestType_3013 QuestType = 3013 // 参与并成功攻占{0}座{1}城池
  54. QuestType_3014 QuestType = 3014 // 参与并成功攻占{0}座郡城
  55. QuestType_3015 QuestType = 3015 // 参与并成功攻占{0}座州府
  56. QuestType_3016 QuestType = 3016 // 累计拆除{0}点玩家建筑耐久
  57. QuestType_3017 QuestType = 3017 // 累计消灭{0}城池关卡的驻城部队
  58. QuestType_3018 QuestType = 3018 // 攻击城市耐久{0}
  59. QuestType_3019 QuestType = 3019 // 攻城成功{0}次
  60. QuestType_3020 QuestType = 3020 // 攻占{0}个{1}级以上的资源田
  61. QuestType_3021 QuestType = 3021 // 攻占{0}块其他玩家土地
  62. )
  63. const (
  64. QuestStatus_Running = 0 // 任务进行中
  65. QuestStatus_Finish = 1 // 任务已完成,未领取奖励
  66. QuestStatus_End = 2 // 任务已完成,已领取,并结束
  67. )
  68. // QuestOpenType 任务组开放类型
  69. type QuestOpenType int32
  70. const (
  71. QuestOpenType_DefaultOpen QuestOpenType = 0 // 默认开放
  72. QuestOpenType_TriggerOpen QuestOpenType = 1 // 功能触发开放
  73. QuestOpenType_LevelReached QuestOpenType = 2 // 根据玩家等级开放groupId
  74. )
  75. // QuestResetType 任务组重置类型(以后迁移到pb里定义)
  76. type QuestResetType int32
  77. const (
  78. QuestResetType_None QuestResetType = 0 // 不重置
  79. QuestResetType_HourOfDay QuestResetType = 1 // 每天第x时重置
  80. QuestResetType_DayOfWeek QuestResetType = 2 // 每周第x日重置
  81. )
  82. // QuestClass 任务组类型
  83. type QuestClass int32
  84. const (
  85. QuestClass_Main QuestClass = 1 // 主线章节任务
  86. QuestClass_Daily QuestClass = 2 // 每日任务
  87. QuestClass_Weekly QuestClass = 3 // 每周任务
  88. )
  89. const (
  90. MainQuestType_Game = 1 // 游戏主线类型
  91. MainQuestType_Map = 2 // 地图主线类型
  92. )
  93. // 联盟任务类型
  94. type LeagueQuestType int32
  95. const (
  96. LeagueQuestType_Process LeagueQuestType = 0 // 进程任务
  97. LeagueQuestType_Active LeagueQuestType = 1 // 活跃任务
  98. )
  99. // 成就类型
  100. type QuestAchieveType int32
  101. const (
  102. QuestAchieveType_Season QuestAchieveType = 1 // 赛季成就
  103. QuestAchieveType_Personal QuestAchieveType = 2 // 个人成就
  104. )