refactor(kv): 整理存档接线并清理迁移冗余实现
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user