地图相关协议
This commit is contained in:
@@ -15,7 +15,7 @@ namespace NBF
|
||||
_session = Net.CreateSession("127.0.0.1:20001");
|
||||
|
||||
_session.Scene.AddComponent<UnitUnityComponent>();
|
||||
|
||||
|
||||
var acc = account;
|
||||
|
||||
// 发送登录的请求给服务器
|
||||
@@ -52,6 +52,7 @@ namespace NBF
|
||||
}
|
||||
|
||||
Log.Debug($"登录到Gate服务器成功!ErrorCode:{loginResponse.ErrorCode}");
|
||||
await _session.Scene.EventComponent.PublishAsync(new ChangePosition());
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user