This commit is contained in:
@@ -14,6 +14,7 @@ const (
|
||||
nonoPetCureCost int64 = 50
|
||||
)
|
||||
|
||||
// NonoFollowOrHome 处理控制器请求。
|
||||
func (h Controller) NonoFollowOrHome(data *NonoFollowOrHomeInInfo, c *player.Player) (result *nono.NonoFollowOutInfo, err errorcode.ErrorCode) { //这个时候player应该是空的
|
||||
c.Info.NONO.Flag = data.Flag
|
||||
result = &nono.NonoFollowOutInfo{
|
||||
@@ -49,6 +50,7 @@ func (h *Controller) GetNonoInfo(data *NonoInboundInfo, c *player.Player) (resul
|
||||
return
|
||||
}
|
||||
|
||||
// SwitchFlying 处理控制器请求。
|
||||
func (h *Controller) SwitchFlying(data *SwitchFlyingInboundInfo, c *player.Player) (result *nono.SwitchFlyingOutboundInfo, err errorcode.ErrorCode) { //这个时候player应该是空的
|
||||
result = &nono.SwitchFlyingOutboundInfo{
|
||||
UserId: data.Head.UserID,
|
||||
@@ -59,6 +61,7 @@ func (h *Controller) SwitchFlying(data *SwitchFlyingInboundInfo, c *player.Playe
|
||||
return
|
||||
}
|
||||
|
||||
// PlayerPetCure 处理控制器请求。
|
||||
func (h *Controller) PlayerPetCure(data *PetCureInboundInfo, c *player.Player) (result *nono.PetCureOutboundEmpty, err errorcode.ErrorCode) { //这个时候player应该是空的
|
||||
_ = data
|
||||
if c.IsArenaHealLocked() {
|
||||
|
||||
Reference in New Issue
Block a user