Ignore:
Timestamp:
Sep 4, 2018, 1:00:48 PM (6 years ago)
Author:
alloc
Message:

Code style cleanup (mostly whitespace changes, enforcing braces, using cleanup)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetPlayerInventories.cs

    r321 r325  
     1using System.Net;
    12using AllocsFixes.JSON;
    23using AllocsFixes.PersistentData;
    3 using System;
    4 using System.Collections.Generic;
    5 using System.Net;
    64
    75namespace AllocsFixes.NetConnections.Servers.Web.API {
    86        public class GetPlayerInventories : WebAPI {
     7                public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user,
     8                        int permissionLevel) {
     9                        JSONArray AllInventoriesResult = new JSONArray ();
    910
    10                 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user, int permissionLevel) {
    11                         JSONArray AllInventoriesResult = new JSONArray ();
    12            
    1311                        foreach (string sid in PersistentContainer.Instance.Players.SteamIDs) {
    1412                                Player p = PersistentContainer.Instance.Players [sid, false];
     
    5553                        WriteJSON (resp, AllInventoriesResult);
    5654                }
    57 
    5855        }
    5956}
    60 
Note: See TracChangeset for help on using the changeset viewer.