test(upserver): 归档存档迁移与玩法闭环回归工具

This commit is contained in:
Liubing\LB
2026-09-28 18:16:14 +08:00
parent c4ae02def9
commit a6f5e107f8
232 changed files with 12903 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
using asap.core;
using GameCore;
using game;
if(!GContext.Ready)return "GContext not ready; "+KVGameplayLoopSetup.State();
var u=GContext.container.Resolve<IUserService>();
var p=GContext.container.Resolve<PlayerData>();
var g=GContext.container.Resolve<GuideDataCenter>();
var cfg=GContext.container.Resolve<IConfig>();
var e=GContext.container.Resolve<FishingEventData>();
GuideSaveData potion;g.GuideSaveDataDic.TryGetValue("EventPotion01",out potion);
return new {loggedIn=u.IsLogin, account=u.CustomId, internalId=u.InternalId,backend=cfg.Get<string>("SaveBackend",""),api=cfg.Get<string>(GConstant.K_Event_API_URL,""),level=p.lv,gold=p.gold,energy=p.Energy,guideGroup=g.curGroupDefine==null?null:g.curGroupDefine.groupName.ToString(),guideNode=g.curDefine!=null,guideSavePointer=g.curSaveData!=null,potionEvent=e.GetEvent(4,5),potionSaved=potion==null?"missing":potion.groupName+"|"+potion.guideSubIndex+"|"+potion.isFinish,state=KVGameplayLoopSetup.State()}.ToString();