Ignore:
Timestamp:
Jan 27, 2023, 7:28:00 PM (22 months ago)
Author:
alloc
Message:
  • Major refactoring
  • Using Utf8Json for (de)serialization
  • Moving APIs to REST
  • Removing dependencies from WebServer and MapRenderer to ServerFixes
File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements2/7dtd-server-fixes/src/PersistentData/Inventory.cs

    r351 r402  
    6767
    6868                        if (_count > maxAllowed) {
    69                                 Log.Out ("Player with ID " + _playerId + " has stack for \"" + name + "\" greater than allowed (" +
    70                                          _count + " > " + maxAllowed + ")");
     69                                Log.Out ($"Player with ID {_playerId} has stack for \"{name}\" greater than allowed ({_count} > {maxAllowed})");
    7170                        }
    7271
     
    8079                        item.icon = itemClass.GetIconName ();
    8180
    82                         item.iconcolor = AllocsUtils.ColorToHex (itemClass.GetIconTint ());
     81                        item.iconcolor = itemClass.GetIconTint ().ToHexCode ();
    8382
    8483                        return item;
Note: See TracChangeset for help on using the changeset viewer.