7 lines
423 B
Plaintext
7 lines
423 B
Plaintext
using asap.core;
|
|
if(GContext.container==null)return "Game container unavailable after stop";
|
|
try {
|
|
var d=GContext.container.Resolve<FishingData>();
|
|
return new{postStopObservationOnly=true,ready=GContext.Ready,item=d.fishItem?.ID,subtype=d.fishItem?.SubType,fish=d.curFishData?.ID,free=d.IsFree,retry=d.IsRetry,duel=d.IsDuel,map=d.MapId};
|
|
} catch(System.Exception e){return "Post-stop game data unavailable: "+e.Message;}
|