refactor(controller): 移除未使用的地图相关函数
- 删除了 controller 包中多个与地图相关的 Go 文件 - 移除了未使用的 MapIn、MapHot、MapOut 和 MapList 函数 - 在 space 包中添加了对玩家地图的特殊处理逻辑
This commit is contained in:
13
logic/controller/Friend.go
Normal file
13
logic/controller/Friend.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package controller
|
||||
|
||||
import (
|
||||
"blazing/common/data/entity"
|
||||
"blazing/common/socket/errorcode"
|
||||
"blazing/logic/service/friend"
|
||||
)
|
||||
|
||||
func (h Controller) OnSeeOnline(data *friend.SeeOnlineInboundInfo, c *entity.Player) (result *friend.SeeOnlineOutboundInfo, err errorcode.ErrorCode) {
|
||||
result = &friend.SeeOnlineOutboundInfo{}
|
||||
result.Friends = make([]friend.OnlineInfo, 0)
|
||||
return
|
||||
}
|
||||
Reference in New Issue
Block a user