source: binary-improvements2/MapRendering/Commands/ReloadWebPermissions.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: 566 bytes
RevLine 
[244]1using System.Collections.Generic;
[325]2using AllocsFixes.NetConnections.Servers.Web;
[244]3
[325]4namespace AllocsFixes.CustomCommands {
5 public class ReloadWebPermissions : ConsoleCmdAbstract {
6 public override string GetDescription () {
[244]7 return "force reload of web permissions file";
8 }
9
[325]10 public override string[] GetCommands () {
11 return new[] {"reloadwebpermissions"};
[244]12 }
13
[325]14 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) {
[359]15 WebPermissions.Instance.Load ();
16 SdtdConsole.Instance.Output ("Web permissions file reloaded");
[244]17 }
18 }
19}
Note: See TracBrowser for help on using the repository browser.