mirror of
https://github.com/FlourishingWorld/hk4e.git
synced 2026-02-16 23:42:26 +08:00
实现跨服加入世界&玩家跨服在线迁移功能(部分完成)
This commit is contained in:
@@ -48,7 +48,7 @@ func NewCommandManager() *CommandManager {
|
||||
|
||||
// 创建AI世界
|
||||
GAME_MANAGER.OnRegOk(false, &proto.SetPlayerBornDataReq{AvatarId: 10000007, NickName: "System"}, 1, 0, "")
|
||||
GAME_MANAGER.FightServerSelectNotify(1, "")
|
||||
GAME_MANAGER.ServerAppidBindNotify(1, "", 0)
|
||||
r.system = USER_MANAGER.GetOnlineUser(1)
|
||||
r.system.DbState = model.DbNormal
|
||||
r.system.SceneLoadState = model.SceneEnterDone
|
||||
|
||||
Reference in New Issue
Block a user