From 5ddbe1cacfdb8b79a5ea4311c5b2866fae8c0a5d Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 29 Aug 2023 18:16:58 +1000 Subject: [PATCH] todo --- Assets/Src/LapStorage.cs | 4 ++-- TODO.md | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Assets/Src/LapStorage.cs b/Assets/Src/LapStorage.cs index 3b5ef7d..c55793f 100644 --- a/Assets/Src/LapStorage.cs +++ b/Assets/Src/LapStorage.cs @@ -35,7 +35,7 @@ public class LapFetchService { public IEnumerator GetPb() { string uri = $"localhost:40080/Pb?userId={player.Id}&mapName={_mapName}"; - Debug.Log(uri); + // Debug.Log(uri); using (UnityWebRequest req = UnityWebRequest.Get(uri)) { yield return req.SendWebRequest(); @@ -63,7 +63,7 @@ public class LapFetchService { Created = DateTimeOffset.UtcNow, }; - Debug.Log(JsonConvert.SerializeObject(dto)); + // Debug.Log(JsonConvert.SerializeObject(dto)); using (UnityWebRequest req = UnityWebRequest.Post("localhost:40080/Lap", JsonConvert.SerializeObject(dto), "application/json")) { yield return req.SendWebRequest(); diff --git a/TODO.md b/TODO.md index 9104ba7..89479e8 100644 --- a/TODO.md +++ b/TODO.md @@ -1,8 +1,10 @@ # SpaceRace! - post times to server - - rename completions to laps with migration - - create userid on startup + - check time is lower when posting + - return pb and lap record + - convert laps to lapDTO? + - include sectors - controls diagram - mouse / controller sens