test(upserver): 归档存档迁移与玩法闭环回归工具
This commit is contained in:
@@ -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();
|
||||
Reference in New Issue
Block a user