using asap.core; using System.Linq; using LitJson; var p=GContext.container.Resolve(); var f=GContext.container.Resolve(); var b=GContext.container.Resolve(); var map=JsonMapper.ToObject>(PlayFabMgr.Instance.GetLocalData("Map_5_102")); return JsonMapper.ToJson(new { api=GContext.container.Resolve().ApiBaseUri.ToString(), core=p.PlayerDataDic["newData"], gold=(ulong)p.gold,energy=(int)p.Energy,energyRM=p.GetEnergyRM(),frequency=p._fishingFrequency, fishId=10223,fishRaw=map["10223"], liveMaxWeight=f.GetDataMaxWeight(10223),liveLevel=f.GetDataLevel(10223),liveNewFish=f.GetDataNewFish(10223), daily=string.Join(";",b.BattleTask.dic_dailyTasks.Select(x=>x.Key+":"+x.Value)), weekly=string.Join(";",b.BattleTask.dic_weeklyTasks.Select(x=>x.Key+":"+x.Value)), state=KVGameplayLoopSetup.State() });