| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- package enum
- // QuestType 任务类型
- type QuestType int32
- const (
- QuestType_None QuestType = 0 // 未知
- QuestType_1 QuestType = 1 // 登陆{0}次游戏
- QuestType_101 QuestType = 101 // 领主等级达到{0}级
- QuestType_201 QuestType = 201 // 获得{0}个英雄
- QuestType_202 QuestType = 202 // {0}个英雄星级达到{1}星
- QuestType_301 QuestType = 301 // 获得{0}件{1}品质装备
- QuestType_302 QuestType = 302 // 打造{0}次装备
- QuestType_303 QuestType = 303 // 强化{0}件装备至{1}
- QuestType_304 QuestType = 304 // 强化{0}次装备
- QuestType_401 QuestType = 401 // 训练{0}个{1}
- QuestType_402 QuestType = 402 // 拥有{0}个士兵
- QuestType_501 QuestType = 501 // 探险通关{0}次
- QuestType_502 QuestType = 502 // 探险通关{0}
- QuestType_601 QuestType = 601 // 建造{0}
- QuestType_602 QuestType = 602 // {0}达到{1}级
- QuestType_603 QuestType = 603 // 建造/升级{0}次建筑
- QuestType_701 QuestType = 701 // 加入/创建1一个联盟
- QuestType_702 QuestType = 702 // 联盟等级达到{0}级
- )
- const (
- QuestStatus_Running = 0 // 任务进行中
- QuestStatus_Finish = 1 // 任务已完成,未领取奖励
- QuestStatus_End = 2 // 任务已完成,已领取,并结束
- )
- // QuestOpenType 任务组开放类型
- type QuestOpenType int32
- const (
- QuestOpenType_DefaultOpen QuestOpenType = 0 // 默认开放
- QuestOpenType_TriggerOpen QuestOpenType = 1 // 功能触发开放
- QuestOpenType_LevelReached QuestOpenType = 2 // 根据玩家等级开放groupId
- )
- // QuestResetType 任务组重置类型(以后迁移到pb里定义)
- type QuestResetType int32
- const (
- QuestResetType_None QuestResetType = 0 // 不重置
- QuestResetType_HourOfDay QuestResetType = 1 // 每天第x时重置
- QuestResetType_DayOfWeek QuestResetType = 2 // 每周第x日重置
- )
- // QuestClass 任务组类型
- type QuestClass int32
- const (
- QuestClass_Main QuestClass = 1 // 主线章节任务
- QuestClass_Daily QuestClass = 2 // 每日任务
- QuestClass_Weekly QuestClass = 3 // 每周任务
- )
- // 联盟任务类型
- type LeagueQuestType int32
- const (
- LeagueQuestType_Process LeagueQuestType = 0 // 进程任务
- LeagueQuestType_Active LeagueQuestType = 1 // 活跃任务
- )
|