13 lines
374 B
Go
13 lines
374 B
Go
|
|
package controller
|
||
|
|
|
||
|
|
import (
|
||
|
|
"blazing/common/data/entity"
|
||
|
|
"blazing/common/socket/errorcode"
|
||
|
|
"blazing/logic/service/maps"
|
||
|
|
)
|
||
|
|
|
||
|
|
func (h *Controller) MapOut(data *maps.LeaveMapInboundInfo, c *entity.Player) (result *maps.LeaveMapOutboundInfo, err errorcode.ErrorCode) { //这个时候player应该是空的
|
||
|
|
result = &maps.LeaveMapOutboundInfo{UserID: c.GetUserID()}
|
||
|
|
return
|
||
|
|
}
|