Rev | Line | |
---|
[224] | 1 | using System.Collections.Generic;
|
---|
| 2 |
|
---|
[325] | 3 | namespace 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.