猫草大作战
This commit is contained in:
parent
b1347f48cb
commit
58033e959f
@ -416,10 +416,15 @@ func (p *Player) handle(m *msg.Msg) error {
|
||||
}
|
||||
CatnipMod.BeInvited(int(m.From), m.SendT)
|
||||
FriendMod := p.PlayMod.getFriendMod()
|
||||
FriendMod.AddReplyInfo(m.From, friend.REPLY_TYPE_CATNIP, fmt.Sprintf("%d", CatnipMsg.GameId), m.End, nil)
|
||||
ReplyInfo := FriendMod.AddReplyInfo(m.From, friend.REPLY_TYPE_CATNIP, fmt.Sprintf("%d", CatnipMsg.GameId), m.End, nil)
|
||||
PlayerSimpleData := G_GameLogicPtr.GetResSimplePlayerByUid(m.From)
|
||||
p.PushClientRes(&proto.ResFriendReplyNotify{
|
||||
Info: &proto.ResFriendLog{
|
||||
Player: PlayerSimpleData,
|
||||
Param: ReplyInfo.Param,
|
||||
Type: int32(ReplyInfo.Type),
|
||||
Id: int32(ReplyInfo.Id),
|
||||
},
|
||||
Type: int32(friend.REPLY_TYPE_CATNIP),
|
||||
Time: int32(m.SendT),
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user