Changeset 325 for binary-improvements/MapRendering/Commands/RenderMap.cs
- Timestamp:
- Sep 4, 2018, 1:00:48 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/RenderMap.cs
r230 r325 1 using AllocsFixes.MapRendering;2 1 using System; 3 using System.IO;4 2 using System.Collections.Generic; 5 3 6 namespace AllocsFixes.CustomCommands 7 { 8 public class RenderMap : ConsoleCmdAbstract 9 { 10 public override string GetDescription () 11 { 4 namespace AllocsFixes.CustomCommands { 5 public class RenderMap : ConsoleCmdAbstract { 6 public override string GetDescription () { 12 7 return "render the current map to a file"; 13 8 } 14 9 15 public override string[] GetCommands () 16 { 17 return new string[] { "rendermap" }; 10 public override string[] GetCommands () { 11 return new[] {"rendermap"}; 18 12 } 19 13 20 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) 21 { 14 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) { 22 15 try { 23 AllocsFixes.MapRendering.MapRendering.Instance.RenderFullMap ();16 MapRendering.MapRendering.Instance.RenderFullMap (); 24 17 25 18 SdtdConsole.Instance.Output ("Render map done");
Note:
See TracChangeset
for help on using the changeset viewer.