using asap.core; using GameCore; using game; if(!GContext.Ready)return "GContext not ready; "+KVGameplayLoopSetup.State(); var u=GContext.container.Resolve(); var p=GContext.container.Resolve(); var g=GContext.container.Resolve(); var cfg=GContext.container.Resolve(); var e=GContext.container.Resolve(); GuideSaveData potion;g.GuideSaveDataDic.TryGetValue("EventPotion01",out potion); return new {loggedIn=u.IsLogin, account=u.CustomId, internalId=u.InternalId,backend=cfg.Get("SaveBackend",""),api=cfg.Get(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();