chore(m2): 保存功能验收及后续清理前检查点
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
|
||||
|
||||
using AppsFlyerSDK;
|
||||
using asap.core;
|
||||
using asap.core.common;
|
||||
@@ -26,9 +26,12 @@ public class SubBoostrap
|
||||
{
|
||||
internal static game.PlayerDataStorage.PlayerKVRuntimeSelection RuntimeSelection { get; private set; }
|
||||
|
||||
public static async System.Threading.Tasks.Task RegisterServices(GameObject rootCtxGo, IConfig config)
|
||||
public static async Task RegisterServices(GameObject rootCtxGo, IConfig config)
|
||||
{
|
||||
if(config==null) throw new ArgumentNullException(nameof(config));
|
||||
if (config == null)
|
||||
{
|
||||
throw new ArgumentNullException(nameof(config));
|
||||
}
|
||||
#if AGG
|
||||
const bool aggBuild=true;
|
||||
#else
|
||||
@@ -97,10 +100,14 @@ public class SubBoostrap
|
||||
#else
|
||||
GameCore.GameEventMgr.Init();
|
||||
#endif
|
||||
#if UNITY_EDITOR && !SERVICE_HOST
|
||||
game.PlayerDataStorage.PlayerKVGameplayLoop.BeforeBootstrap();
|
||||
#endif
|
||||
if(!selection.IsKV) rootCtxGo.AddComponent<PlayFabMgr>();
|
||||
if (!selection.IsKV)
|
||||
{
|
||||
rootCtxGo.AddComponent<PlayFabMgr>();
|
||||
}
|
||||
else
|
||||
{
|
||||
rootCtxGo.AddComponent<KVMgr>();
|
||||
}
|
||||
// TODO Replace DataCenter with seprated data class
|
||||
// Create();
|
||||
// -----------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user