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/webserver
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/webserver/index.html

    r297 r369  
    159159        <div id="playerInventoryDialog" title="Player inventory">
    160160                Player: <span id="invPlayerName"></span><br/>
    161                 SteamID: <span id="invSteamId"></span><br/>
     161                UserID: <span id="invSteamId"></span><br/>
    162162                <br/>
    163163                <table>
  • binary-improvements/webserver/js/inventory_dialog.js

    r361 r369  
    4444//      }
    4545       
    46         $.getJSON( "../api/getplayerinventory", { steamid: steamid  })
     46        $.getJSON( "../api/getplayerinventory", { userid: steamid  })
    4747        .done(function(data) {
    4848                $("#invPlayerName").text(data.playername);
  • binary-improvements/webserver/js/players.js

    r320 r369  
    2424        // Define columns to be shown
    2525        var columns = [
    26                 [ "steamid", "SteamID" ],
     26                [ "steamid", "UserID" ],
    2727                [ "entityid", "EntityID" ],
    2828                [ "ip", "IP" ],
Note: See TracChangeset for help on using the changeset viewer.