refactor(kv): 整理存档接线并清理迁移冗余实现

This commit is contained in:
Liubing\LB
2026-10-13 20:38:41 +08:00
parent 144e7f739f
commit edb8a056c7
166 changed files with 3828 additions and 13267 deletions

View File

@@ -163,7 +163,7 @@ namespace game
internal string CaptureSaveBackend()
{
return config == null ? "playfab" : config.Get<string>("SaveBackend", "playfab");
return game.KV.KvRuntimeSelection.CompiledBackend;
}
internal bool RejectSaveBackend(string backend)
@@ -520,7 +520,7 @@ namespace game
}
private S101AccountSession apiSession;
private GameServerAccountSession apiSession;
private Task<bool> apiLoginTask;
private int apiLoginGeneration;
@@ -542,7 +542,7 @@ namespace game
try
{
customServerMgr.ClearAccountSession();
var session = new S101AccountSession(customServerMgr.ApiBaseUri);
var session = new GameServerAccountSession(customServerMgr.ApiBaseUri);
apiSession = session;
var result = await session.LoginAsync(requestedId);
if (generation != apiLoginGeneration || requestedId != CustomId)