using asap.core; using System.Linq; var p=GContext.container.Resolve(); var g=GContext.container.Resolve(); var f=GContext.container.Resolve(); var c=GContext.container.Resolve(); return new{time=ZZTimeHelper.UtcNow(),offset=ZZTimeHelper.LocalTimeOffsetInSec,timeDiff=ZZTimeHelper.timeDiff.TotalSeconds,unlockedMag=p.IsOpenMagnification,unlockedStrike=f.IsOpenPiercing,frequency=p._fishingFrequency,cruise=f.GetFishSwimToMap(p.lastMapId),collect=GContext.container.Resolve().GetAddCollecting(),collectingTarget=GContext.container.Resolve().collectingTargetInit!=null,piggy=GContext.container.Resolve().IsPackActivated,bargain=GContext.container.Resolve().IsPackActivated,challenge=c.fishingChallengeData!=null,guideNode=g.curDefine!=null,guideGroup=g.curGroupDefine!=null,groups=string.Join(";",g.guidanceGroupDefines.Where(x=>x.guidanceDefines.Any(n=>n.panelName=="FishingPanel"||n.panelName=="FishingPanel_Advanced"||n.panelName=="FishingRewardPanel")).Select(x=>x.groupName+":"+g.GetIsFinish(x.groupName.ToString()))),state=KVGameplayLoopSetup.State()};