source: binary-improvements2/MapRendering/Commands/RenderMap.cs@ 384

Last change on this file since 384 was 383, checked in by alloc, 2 years ago

Fixed a bunch of warnings

File size: 501 bytes
RevLine 
[224]1using System.Collections.Generic;
2
[325]3namespace AllocsFixes.CustomCommands {
4 public class RenderMap : ConsoleCmdAbstract {
5 public override string GetDescription () {
[224]6 return "render the current map to a file";
7 }
8
[325]9 public override string[] GetCommands () {
10 return new[] {"rendermap"};
[224]11 }
12
[325]13 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
[359]14 MapRendering.MapRendering.Instance.RenderFullMap ();
[224]15
[359]16 SdtdConsole.Instance.Output ("Render map done");
[224]17 }
18 }
[325]19}
Note: See TracBrowser for help on using the repository browser.