mirror of
https://github.com/recroom2016/OpenRec.git
synced 2026-04-22 13:25:51 +00:00
should get farther now
This commit is contained in:
10
APIServer.cs
10
APIServer.cs
@@ -209,7 +209,15 @@ namespace server
|
||||
}
|
||||
if (Url == "settings/v2/")
|
||||
{
|
||||
s = Settings.GetPlayerSettings();
|
||||
s = File.ReadAllText("SaveData\\settings.txt");
|
||||
}
|
||||
if (Url == "avatar/v3/items")
|
||||
{
|
||||
s = File.ReadAllText("SaveData\\avataritems.txt");
|
||||
}
|
||||
if (Url == "equipment/v1/getUnlocked")
|
||||
{
|
||||
s = File.ReadAllText("SaveData\\equipment.txt");
|
||||
}
|
||||
Console.WriteLine("API Response: " + s);
|
||||
byte[] bytes = Encoding.UTF8.GetBytes(s);
|
||||
|
||||
Reference in New Issue
Block a user