Upload files to "routes/API"

This commit is contained in:
2026-07-24 15:43:33 +00:00
parent 7f97348756
commit 0c5ff5671b
5 changed files with 217 additions and 0 deletions

27
routes/API/GameConfigs.cs Normal file
View File

@@ -0,0 +1,27 @@
using Stella.Models;
namespace Stella.Routes.API
{
public class GameConfigs
{
[ServerAPI.GET("/api/gameconfigs/v1/all")]
public List<GameConfig> ReturnGameConfigs()
{
return [
new GameConfig { Key = "VR.ForceVerification", Value = "1" },
new GameConfig { Key = "Door.Creative.Title", Value = "PUZZLE" },
new GameConfig { Key = "Door.Creative.Query", Value = "#puzzle" },
new GameConfig { Key = "Door.Featured.Title", Value = "FEATURED" },
new GameConfig { Key = "Door.Featured.Query", Value = "#featured" },
new GameConfig { Key = "Door.Quests.Title", Value = "QUESTS" },
new GameConfig { Key = "Door.Quests.Query", Value = "#rro #quest" },
new GameConfig { Key = "Door.Shooters.Title", Value = "PVP" },
new GameConfig { Key = "Door.Shooters.Query", Value = "#rro #pvp" },
new GameConfig { Key = "Door.Sports.Title", Value = "Sports and Rec" },
new GameConfig { Key = "Door.Sports.Query", Value = "#rro #sport" },
new GameConfig { Key = "splitTestHardOverrides", Value = "" },
new GameConfig { Key = "splitTestSoftOverrides", Value = "" }
];
}
}
}