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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/AllocsCommands/Commands/ShowInventory.cs

    r359 r369  
    1111                public override string GetHelp () {
    1212                        return "Usage:\n" +
    13                                "   showinventory <steam id / player name / entity id> [tag]\n" +
    14                                "Show the inventory of the player given by his SteamID, player name or\n" +
     13                               "   showinventory <user id / player name / entity id> [tag]\n" +
     14                               "Show the inventory of the player given by his UserID, player name or\n" +
    1515                               "entity id (as given by e.g. \"lpi\").\n" +
    1616                               "Optionally specify a tag that is included in each line of the output. In\n" +
     
    3030                        }
    3131
    32                         string steamid = PersistentContainer.Instance.Players.GetSteamID (_params [0], true);
     32                        PlatformUserIdentifierAbs steamid = PersistentContainer.Instance.Players.GetSteamID (_params [0], true);
    3333                        if (steamid == null) {
    3434                                SdtdConsole.Instance.Output (
Note: See TracChangeset for help on using the changeset viewer.