source: binary-improvements/MapRendering/WebTokens_Legacy.cs@ 465

Last change on this file since 465 was 456, checked in by alloc, 16 months ago

25_30_45

  • Readded WebTokens_Legacy command to inform users to use vanilla's webtokens command instead
File size: 675 bytes
Line 
1using System.Collections.Generic;
2
3namespace AllocsFixes.Web {
4 public class WebTokens_Legacy : ConsoleCmdAbstract {
5 private const string notUsedMessage = "NOT USED - WebTokens are managed through vanilla 7DTD now. Please use the 'webtokens' command instead.";
6
7 protected override string[] getCommands () {
8 return new[] {"webtokens_legacy"};
9 }
10
11 protected override string getDescription () {
12 return notUsedMessage;
13 }
14
15 protected override string getHelp () {
16 return notUsedMessage;
17 }
18
19 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
20 SdtdConsole.Instance.Output (notUsedMessage);
21 }
22
23 }
24}
Note: See TracBrowser for help on using the repository browser.