| Line |  | 
|---|
| 1 | using System.Collections.Generic; | 
|---|
| 2 |  | 
|---|
| 3 | namespace 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.