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/MapRendering/src/Commands/EnableRendering.cs

    r391 r402  
    1515                public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
    1616                        if (_params.Count != 1) {
    17                                 SdtdConsole.Instance.Output ("Current state: " + MapRenderer.renderingEnabled);
     17                                SdtdConsole.Instance.Output ($"Current state: {MapRenderer.renderingEnabled}");
    1818                                return;
    1919                        }
    2020
    2121                        MapRenderer.renderingEnabled = _params [0].Equals ("1");
    22                         SdtdConsole.Instance.Output ("Set live map rendering to " + _params [0].Equals ("1"));
     22                        SdtdConsole.Instance.Output ($"Set live map rendering to {_params [0].Equals ("1")}");
    2323                }
    2424        }
Note: See TracChangeset for help on using the changeset viewer.