feat(fight): 实现玩家对战邀请功能及PVP模式处理
This commit is contained in:
@@ -68,3 +68,11 @@ func (h Controller) OnReadyToFight(data *fight.ReadyToFightInboundInfo, c *entit
|
||||
c.SendPack(t1.Pack(&rett))
|
||||
return nil, -1
|
||||
}
|
||||
|
||||
/**
|
||||
* 接收战斗或者取消战斗的包
|
||||
*/
|
||||
func (h Controller) OnPlayerHandleFightInvite(data *fight.HandleFightInviteInboundInfo, c *entity.Player) (result *fight.NullOutboundInfo, err errorcode.ErrorCode) {
|
||||
|
||||
return nil, -1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user