Latest uncommited changes from Vladimir
Revert if needed
This commit is contained in:
+7
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 91b0b4c77fdd1d24aa1af646e9d29960
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aebd7ef925dd4fe4690c3238e879f914
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8645273165cb7f54290d6eaa1e10ab37
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -624,7 +624,7 @@ RectTransform:
|
||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||
m_AnchorMin: {x: 0, y: 0}
|
||||
m_AnchorMax: {x: 0, y: 0}
|
||||
m_AnchoredPosition: {x: 117.06, y: 0}
|
||||
m_AnchoredPosition: {x: 0, y: 0}
|
||||
m_SizeDelta: {x: 0, y: 0}
|
||||
m_Pivot: {x: 0.5, y: 0.5}
|
||||
--- !u!114 &926923760
|
||||
|
||||
@@ -29,24 +29,6 @@ public class Authorization : MonoBehaviour
|
||||
if (_clientDataService.data != null)
|
||||
{
|
||||
Debug.LogWarning($"данные клианта {_clientDataService.data.id} загружены: город - {(Cities)_clientDataService.data.city}, найдено тэгов - {_clientDataService.data.games.Count}");
|
||||
// UniTask.Void(async ()=>
|
||||
// {
|
||||
// Response<int> result = new Response<int>();
|
||||
// int counter = 0;
|
||||
|
||||
// while(result.responseData == 0)
|
||||
// {
|
||||
// Debug.LogWarning($"ещё не все метки найдены ({counter})");
|
||||
// result = await _networkService.GetAsync<int>("game/find", $"id={_clientDataService.data.id}", $"game={counter}");
|
||||
// Debug.LogWarning(result.responseCode + "/" + result.responseData);
|
||||
// counter++;
|
||||
|
||||
// await UniTask.Delay(500);
|
||||
// }
|
||||
|
||||
// Debug.LogWarning($"поздравляем! Ваше место в общем зачете - {result.responseData}");
|
||||
// });
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -115,4 +97,4 @@ public class Authorization : MonoBehaviour
|
||||
_menu.Reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,6 +8,7 @@ public class AppInstaller : MonoInstaller
|
||||
Container.Bind<NetworkService>().AsSingle().NonLazy();
|
||||
Container.Bind<ClientDataService>().AsSingle();
|
||||
Container.Bind<SceneLoadingService>().AsSingle();
|
||||
Container.Bind<QuestService>().AsSingle();
|
||||
|
||||
Container.Bind<TagDescriptionsPanel>().FromComponentInHierarchy().AsSingle();
|
||||
}
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
using Cysharp.Threading.Tasks;
|
||||
using YandexQuest.Models;
|
||||
|
||||
public class QuestService
|
||||
{
|
||||
public QuestService(NetworkService networkService, ClientDataService clientDataService)
|
||||
{
|
||||
_networkService = networkService;
|
||||
_clientDataService = clientDataService;
|
||||
}
|
||||
|
||||
private readonly NetworkService _networkService;
|
||||
private readonly ClientDataService _clientDataService;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b3fa020437f048c45a0cab622b3d4ef5
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -18,4 +18,4 @@ public class SceneLoadingService
|
||||
await SceneManager
|
||||
.LoadSceneAsync(name, LoadSceneMode.Single);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -31,4 +31,4 @@ public class TagDescriptionsPanel : MonoBehaviour
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user