mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-17 09:42:26 +08:00
世界怪物、NPC、装置等场景实体读取lua配置生成,实现AOI九宫格动态加载
This commit is contained in:
@@ -168,3 +168,9 @@ func (g *GameManager) ServerAppidBindNotify(userId uint32, fightAppId string, jo
|
||||
player.SceneLoadState = model.SceneNone
|
||||
g.SendMsg(cmd.PlayerEnterSceneNotify, userId, player.ClientSeq, g.PacketPlayerEnterSceneNotifyLogin(player, proto.EnterType_ENTER_TYPE_SELF))
|
||||
}
|
||||
|
||||
func (g *GameManager) ObstacleModifyNotify(player *model.Player, payloadMsg pb.Message) {
|
||||
logger.Debug("user obstacle modify, uid: %v", player.PlayerID)
|
||||
ntf := payloadMsg.(*proto.ObstacleModifyNotify)
|
||||
logger.Debug("ObstacleModifyNotify: %v", ntf)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user