chore(m2): 保存功能验收及后续清理前检查点

This commit is contained in:
Liubing\LB
2026-10-10 20:40:27 +08:00
parent d3c5394a55
commit 144e7f739f
110 changed files with 12672 additions and 7514 deletions

View File

@@ -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();
// -----------------------------------------