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