添加攻略类型
This commit is contained in:
parent
d49aae3ab7
commit
1251ec38a0
@ -104,7 +104,8 @@ const (
|
|||||||
type TaskTag int32
|
type TaskTag int32
|
||||||
|
|
||||||
const (
|
const (
|
||||||
TASK_DAILY TaskTag = 1 //每日任务
|
TASK_DAILY TaskTag = 1 //每日任务
|
||||||
TASK_WEEKLY TaskTag = 2 //周任务
|
TASK_WEEKLY TaskTag = 2 //周任务
|
||||||
TASK_ACHIEVE TaskTag = 3 //成就
|
TASK_ACHIEVE TaskTag = 3 //成就
|
||||||
|
TASK_STRATEGY TaskTag = 4 // 攻略
|
||||||
)
|
)
|
||||||
|
@ -130,7 +130,7 @@ func (this *configureComp) getTaskByTag(taskTag int32) (data []*cfg.Game_taskRou
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
//获取活跃度奖励
|
//获取活跃度奖励list
|
||||||
func (this *configureComp) getTaskActiveByTag(taskTag int32) (data []*cfg.Game_activeRewardData, err error) {
|
func (this *configureComp) getTaskActiveByTag(taskTag int32) (data []*cfg.Game_activeRewardData, err error) {
|
||||||
conf, err := this.getActiveRewardCfg()
|
conf, err := this.getActiveRewardCfg()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
@ -148,6 +148,7 @@ func (this *configureComp) getTaskActiveByTag(taskTag int32) (data []*cfg.Game_a
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 获取活跃度配置map
|
||||||
func (this *configureComp) getTaskActiveById(id int32) (data *cfg.Game_activeRewardData) {
|
func (this *configureComp) getTaskActiveById(id int32) (data *cfg.Game_activeRewardData) {
|
||||||
conf, err := this.getActiveRewardCfg()
|
conf, err := this.getActiveRewardCfg()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user