diff --git a/ZoFo/GameCore/Client.cs b/ZoFo/GameCore/Client.cs index 665179e..eefe7f4 100644 --- a/ZoFo/GameCore/Client.cs +++ b/ZoFo/GameCore/Client.cs @@ -51,6 +51,7 @@ namespace ZoFo.GameCore { List updateDatas = JsonSerializer.Deserialize>(data); // тут будет switch + AppManager.Instance.debugHud.Log(data); foreach (var item in updateDatas) { GotData(item); @@ -78,6 +79,7 @@ namespace ZoFo.GameCore { for (int i = 0; i < gameObjects.Count; i++) { + AppManager.Instance.debugHud.Set("GameTime", gameTime.TotalGameTime.ToString()); gameObjects[i].UpdateAnimations(); } } diff --git a/ZoFo/GameCore/Server.cs b/ZoFo/GameCore/Server.cs index 26c939f..dd7939d 100644 --- a/ZoFo/GameCore/Server.cs +++ b/ZoFo/GameCore/Server.cs @@ -42,6 +42,7 @@ namespace ZoFo.GameCore public void OnDataSend(string data) { List updateDatas = JsonSerializer.Deserialize>(data); + AppManager.Instance.debugHud.Log(data); for (int i = 0; i < updateDatas.Count; i++) { ProcessIUpdateData(updateDatas[i]);