- Timestamp:
- Aug 6, 2022, 11:32:32 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements2/MapRendering/Web/API/GetPlayerInventories.cs
r383 r387 2 2 using AllocsFixes.JSON; 3 3 using AllocsFixes.PersistentData; 4 using HttpListenerRequest = SpaceWizards.HttpListener.HttpListenerRequest;5 using HttpListenerResponse = SpaceWizards.HttpListener.HttpListenerResponse;6 4 7 5 namespace AllocsFixes.NetConnections.Servers.Web.API { 8 public class GetPlayerInventories : WebAPI { 9 public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user, 10 int _permissionLevel) { 11 GetPlayerInventory.GetInventoryArguments (_req, out bool showIconColor, out bool showIconName); 6 public class GetPlayerInventories : AbsWebAPI { 7 public override void HandleRequest (RequestContext _context) { 8 GetPlayerInventory.GetInventoryArguments (_context.Request, out bool showIconColor, out bool showIconName); 12 9 13 10 JSONArray AllInventoriesResult = new JSONArray (); … … 25 22 } 26 23 27 W riteJSON (_resp, AllInventoriesResult);24 WebUtils.WriteJson (_context.Response, AllInventoriesResult); 28 25 } 29 26 }
Note:
See TracChangeset
for help on using the changeset viewer.