chore: remove old worldstate json example.

This commit is contained in:
Michael Hannigan
2025-11-16 15:48:58 -06:00
parent 1beb31a59d
commit 2ee0bb4903

View File

@@ -5,6 +5,7 @@ using Microsoft.AspNetCore.Mvc;
using WFClassic.Web.Logic.Bonus.Daily;
using WFClassic.Web.Logic.Bonus.Rewards;
using WFClassic.Web.Logic.Middleware;
using WFClassic.Web.Logic.Shared;
using WFClassic.Web.Logic.Universe.GetState;
namespace WFClassic.Web.Controllers
@@ -73,117 +74,6 @@ namespace WFClassic.Web.Controllers
[Route("/api/worldState.php")]
public ActionResult WorldState([FromQuery] GetWorldState getWorldState)
{
string ws = @"
{
""Events"": [
{
""_id"": {
""$id"": ""5187e9393f9a5b131c66f528""
},
""Msg"": ""Update 9.8.5"",
""Prop"": ""https://forums.warframe.com/index.php?/topic/209324-update-13-dark-sectors/"",
""Date"": {
""sec"": 1378765369,
""usec"": 149000
},
""Type"" :3
},
{
""_id"": {
""$id"": ""522656733f9a5b1718f1b5ab""
},
""Msg"": ""Thanks for Watching Livestream #13!"",
""Prop"": ""www.google.com"",
""Date"": {
""sec"": 1378324348,
""usec"": 159000
}
}
],
""Goals"": [
{
""_id"": {
""$id"": ""521d98e9bb5768395e92594c""
},
""Activation"": {
""sec"": 1746814027,
""usec"": 0
},
""Expiry"": {
""sec"": 1747359260,
""usec"": 0
},
""AllowReplay"": 1,
""Desc"": ""Fusion Moa Army"",
""Type"": ""MT_ASSASSINATION"",
""Transmission"": ""/Lotus/Sounds/Lotus/Operations/FusionMoaOperationTransmission"",
""Count"": 250,
""Goal"": 500,
""Success"": 0,
""Reward"" :""/Lotus/Types/Items/MiscItems/Morphic"",
""RewardItemCount"" :1,
""RewardCredits"" :1,
}],
""Alerts"": [
{
""Activation"": {
""sec"": 1746840721,
""usec"": 610000
},
""AllowReplay"": 1,
""Expiry"": {
""sec"": 1778376721,
""usec"": 982000
},
""MissionInfo"": {
""missionType"": ""MT_ASSASSINATION"",
""faction"": ""FC_GRINEER"",
""uniqueName"" :""General Sargas Ruk Cats"",
""icon"": ""/Lotus/Interface/Icons/Npcs/Grineer/GrineerFacesL.png"",
""descText"": ""CATS!!!"",
""location"": ""SolNode94"",
""unlocked"" :1,
""introText"": ""CatIntroText"",
""completionText"": ""CatCompletionText"",
""minEnemyLevel"" :999,
""maxEnemyLevel"" :9999,
""introText"": ""Murder Everyone"",
""completionText"": ""CAAAAATSSS"",
""seed"": 94368,
""difficulty"": 0.59836683270987,
""vipAgent"": ""/Lotus/Types/Enemies/Infested/Vip/ZombieLeaderAgent"",
""missionReward"": {
""credits"": 3400,
""xp"": 0,
""items"": [],
""countedItems"": [
{
""ItemType"": ""/Lotus/Types/Items/MiscItems/Morphic"",
""ItemCount"": 1
}
]
},
""levelOverride"": ""/Lotus/Levels/Proc/Corpus/CorpusExterminateLevel"",
""enemySpec"": """",
""vipAgent"": """",
""maxWaveNum"": 0,
""alertId"": {
""$id"": ""521d98e9bb5768395e92594c""
}
}
}
],
""Time"": 1747186460,
""BuildLabel"": ""2013.04.26.17.24/""
}
";
var result = _getWorldStateHandler.Handle(getWorldState);
@@ -216,7 +106,6 @@ namespace WFClassic.Web.Controllers
[Route("/api/heartbeat.php")]
public ActionResult HeartbeatPost()
{
Console.WriteLine("In heartbeat post");
return new JsonResult("");
}
@@ -224,7 +113,6 @@ namespace WFClassic.Web.Controllers
[Route("/api/heartbeat.php")]
public ActionResult HeartbeatGet()
{
Console.WriteLine("In heartbeat get");
return new JsonResult("");
}