获奖记录修改
This commit is contained in:
parent
36cce9df01
commit
db01ddcb0d
|
|
@ -2896,30 +2896,6 @@ func CSAwardLog(s *netlib.Session, packetId int, data interface{}, sid int64) er
|
||||||
if p == nil {
|
if p == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
var items []*Item
|
|
||||||
item := &Item{
|
|
||||||
ItemId: 30011,
|
|
||||||
ItemNum: 1,
|
|
||||||
}
|
|
||||||
var cost []*model.ItemInfo
|
|
||||||
items = append(items, item)
|
|
||||||
item = &Item{
|
|
||||||
ItemId: 77006,
|
|
||||||
ItemNum: 1,
|
|
||||||
}
|
|
||||||
items = append(items, item)
|
|
||||||
BagMgrSingleton.AddItemsV2(&ItemParam{
|
|
||||||
P: p,
|
|
||||||
Change: items,
|
|
||||||
Cost: cost,
|
|
||||||
Add: 0,
|
|
||||||
GainWay: common.GainWaySign7Add,
|
|
||||||
Operator: "system",
|
|
||||||
Remark: "累计签到进阶奖励获得",
|
|
||||||
gameId: 0,
|
|
||||||
gameFreeId: 0,
|
|
||||||
noLog: false,
|
|
||||||
})
|
|
||||||
msg, ok := data.(*player_proto.CS_AwardLog)
|
msg, ok := data.(*player_proto.CS_AwardLog)
|
||||||
if !ok {
|
if !ok {
|
||||||
return nil
|
return nil
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue