Ignore:
Timestamp:
Nov 9, 2021, 6:28:33 PM (3 years ago)
Author:
alloc
Message:

Preparations for A20 release
Changes usage of "SteamID" to "UserID" in console commands
Also changes a bunch of the WebAPI stuff to show / use UserIDs

Location:
binary-improvements/MapRendering/Web/Handlers
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/Handlers/ItemIconHandler.cs

    r367 r369  
    7777
    7878                                try {
    79                                         loadIconsFromFolder (Utils.GetGameDir ("Data/ItemIcons"), tintedIcons);
     79                                        loadIconsFromFolder (GameIO.GetGameDir ("Data/ItemIcons"), tintedIcons);
    8080                                } catch (Exception e) {
    8181                                        Log.Error ("Failed loading icons from base game");
  • binary-improvements/MapRendering/Web/Handlers/UserStatusHandler.cs

    r351 r369  
    1313
    1414                        result.Add ("loggedin", new JSONBoolean (_user != null));
    15                         result.Add ("username", new JSONString (_user != null ? _user.SteamID.ToString () : string.Empty));
     15                        result.Add ("username", new JSONString (_user != null ? _user.UserId.ToString () : string.Empty));
    1616
    1717                        JSONArray perms = new JSONArray ();
Note: See TracChangeset for help on using the changeset viewer.