Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
fed0de37af
@ -17049,7 +17049,7 @@
|
|||||||
"NPC": 10081,
|
"NPC": 10081,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
10010
|
10180
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"剧情ID",
|
"剧情ID",
|
||||||
@ -17073,7 +17073,7 @@
|
|||||||
"NPC": 10082,
|
"NPC": 10082,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
10010
|
10190
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"剧情ID",
|
"剧情ID",
|
||||||
@ -17594,7 +17594,7 @@
|
|||||||
"NPC": 10294,
|
"NPC": 10294,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
10030
|
10490
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"剧情ID",
|
"剧情ID",
|
||||||
@ -17659,17 +17659,17 @@
|
|||||||
"type_sp": 1,
|
"type_sp": 1,
|
||||||
"tasktxt": {
|
"tasktxt": {
|
||||||
"key": "buried_buried_condi_tasktxt_755",
|
"key": "buried_buried_condi_tasktxt_755",
|
||||||
"text": "剧情ID"
|
"text": "任务战斗"
|
||||||
},
|
},
|
||||||
"type": 20001,
|
"type": 70,
|
||||||
"valid": 0,
|
"valid": 0,
|
||||||
"NPC": 10304,
|
"NPC": 10304,
|
||||||
"value": 1,
|
"value": 1,
|
||||||
"filter": [
|
"filter": [
|
||||||
10030
|
180
|
||||||
],
|
],
|
||||||
"filter2": [
|
"filter2": [
|
||||||
"剧情ID",
|
"通关的关卡ID",
|
||||||
"0",
|
"0",
|
||||||
"0",
|
"0",
|
||||||
"0"
|
"0"
|
||||||
@ -17785,7 +17785,7 @@
|
|||||||
},
|
},
|
||||||
"type": 43,
|
"type": 43,
|
||||||
"valid": 0,
|
"valid": 0,
|
||||||
"NPC": 10354,
|
"NPC": 0,
|
||||||
"value": 8,
|
"value": 8,
|
||||||
"filter": [
|
"filter": [
|
||||||
3
|
3
|
||||||
@ -17901,7 +17901,7 @@
|
|||||||
"type_sp": 1,
|
"type_sp": 1,
|
||||||
"tasktxt": {
|
"tasktxt": {
|
||||||
"key": "buried_buried_condi_tasktxt_765",
|
"key": "buried_buried_condi_tasktxt_765",
|
||||||
"text": "守护者回响解锁次数1次"
|
"text": "主角星座图解锁1次"
|
||||||
},
|
},
|
||||||
"type": 173,
|
"type": 173,
|
||||||
"valid": 0,
|
"valid": 0,
|
||||||
|
@ -297,5 +297,18 @@
|
|||||||
"t": "exp",
|
"t": "exp",
|
||||||
"n": 1009
|
"n": 1009
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": 180,
|
||||||
|
"FormatList": [
|
||||||
|
700011
|
||||||
|
],
|
||||||
|
"BattleReadyID": 100,
|
||||||
|
"EventList": [],
|
||||||
|
"playexp": {
|
||||||
|
"a": "attr",
|
||||||
|
"t": "exp",
|
||||||
|
"n": 1009
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
File diff suppressed because it is too large
Load Diff
@ -402,7 +402,7 @@ const (
|
|||||||
Diamond int32 = 2 //钻石
|
Diamond int32 = 2 //钻石
|
||||||
)
|
)
|
||||||
|
|
||||||
//定时通知类型
|
// 定时通知类型
|
||||||
type NotifyType int32
|
type NotifyType int32
|
||||||
|
|
||||||
const (
|
const (
|
||||||
@ -467,6 +467,8 @@ const (
|
|||||||
|
|
||||||
// 主线
|
// 主线
|
||||||
Reddot24100 ReddotType = 24100 // 主线章节有奖励没领取
|
Reddot24100 ReddotType = 24100 // 主线章节有奖励没领取
|
||||||
|
// 好友
|
||||||
|
Reddot21101 ReddotType = 21101 //当好友申请存在时,一级位置:好友界面左边申请列表图标上右上角位置 当好友申请处理完红点消失
|
||||||
)
|
)
|
||||||
|
|
||||||
type TaskType int32
|
type TaskType int32
|
||||||
|
@ -246,6 +246,8 @@ type (
|
|||||||
UseAssistHero(uid, friendId string) (*pb.DBHero, error)
|
UseAssistHero(uid, friendId string) (*pb.DBHero, error)
|
||||||
// 切磋结束通知
|
// 切磋结束通知
|
||||||
QiecuoFinishNotify(redUid, matchId string) error
|
QiecuoFinishNotify(redUid, matchId string) error
|
||||||
|
// 红点
|
||||||
|
IGetReddot
|
||||||
}
|
}
|
||||||
|
|
||||||
//聊天系统
|
//聊天系统
|
||||||
|
@ -198,3 +198,24 @@ func (this *Friend) QiecuoFinishNotify(redUid, matchId string) error {
|
|||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (this *Friend) Reddot(session comm.IUserSession, rid ...comm.ReddotType) (reddot map[comm.ReddotType]bool) {
|
||||||
|
reddot = make(map[comm.ReddotType]bool)
|
||||||
|
friend := this.modelFriend.GetFriend(session.GetUserId())
|
||||||
|
if friend == nil {
|
||||||
|
for _, v := range rid {
|
||||||
|
reddot[v] = false
|
||||||
|
}
|
||||||
|
} else {
|
||||||
|
for _, v := range rid {
|
||||||
|
switch v {
|
||||||
|
case comm.Reddot21101:
|
||||||
|
if len(friend.ApplyIds) > 0 {
|
||||||
|
reddot[comm.Reddot15102] = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user