- Timestamp:
- Jul 28, 2023, 8:42:10 PM (16 months ago)
- Location:
- binary-improvements/MapRendering/API
- Files:
-
- 1 added
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/API/GetPlayerInventories.cs
r453 r454 1 1 using System.Collections.Generic; 2 using System.Net;3 2 using AllocsFixes.JSON; 4 3 using AllocsFixes.PersistentData; 4 using Webserver; 5 using Webserver.WebAPI; 5 6 6 namespace AllocsFixes.NetConnections.Servers.Web.API { 7 public class GetPlayerInventories : WebAPI { 8 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 9 int _permissionLevel) { 10 GetPlayerInventory.GetInventoryArguments (_req, out bool showIconColor, out bool showIconName); 7 namespace AllocsFixes.WebAPIs { 8 public class GetPlayerInventories : AbsWebAPI { 9 public override void HandleRequest (RequestContext _context) { 10 GetPlayerInventory.GetInventoryArguments (_context, out bool showIconColor, out bool showIconName); 11 11 12 12 JSONArray AllInventoriesResult = new JSONArray (); … … 24 24 } 25 25 26 WriteJSON (_resp, AllInventoriesResult);26 LegacyApiHelper.WriteJSON (_context.Response, AllInventoriesResult); 27 27 } 28 28 }
Note:
See TracChangeset
for help on using the changeset viewer.