Ignore:
Timestamp:
Jan 19, 2019, 6:12:21 PM (6 years ago)
Author:
alloc
Message:

Fixed game version compatibility of GamePrefs
Code style cleanup (mostly argument names)

File:
1 edited

Legend:

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

    r325 r351  
    55namespace AllocsFixes.NetConnections.Servers.Web.API {
    66        public class GetWebUIUpdates : WebAPI {
    7                 public override void HandleRequest (HttpListenerRequest req, HttpListenerResponse resp, WebConnection user,
    8                         int permissionLevel) {
     7                public override void HandleRequest (HttpListenerRequest _req, HttpListenerResponse _resp, WebConnection _user,
     8                        int _permissionLevel) {
    99                        int latestLine;
    10                         if (req.QueryString ["latestLine"] == null ||
    11                             !int.TryParse (req.QueryString ["latestLine"], out latestLine)) {
     10                        if (_req.QueryString ["latestLine"] == null ||
     11                            !int.TryParse (_req.QueryString ["latestLine"], out latestLine)) {
    1212                                latestLine = 0;
    1313                        }
     
    2727                        result.Add ("newlogs", new JSONNumber (LogBuffer.Instance.LatestLine - latestLine));
    2828
    29                         WriteJSON (resp, result);
     29                        WriteJSON (_resp, result);
    3030                }
    3131
Note: See TracChangeset for help on using the changeset viewer.