Changeset 326 for binary-improvements/MapRendering/Commands/WebTokens.cs
- Timestamp:
- Sep 4, 2018, 2:33:52 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
binary-improvements/MapRendering/Commands/WebTokens.cs
r325 r326 25 25 public override void Execute (List<string> _params, CommandSenderInfo _senderInfo) { 26 26 if (_params.Count >= 1) { 27 switch (_params [0].ToLower ()) { 28 case "add": 29 ExecuteAdd (_params); 30 break; 31 case "remove": 32 ExecuteRemove (_params); 33 break; 34 case "list": 35 ExecuteList (); 36 break; 37 default: 38 SdtdConsole.Instance.Output ("Invalid sub command \"" + _params [0] + "\"."); 39 return; 27 if (_params [0].EqualsCaseInsensitive ("add")) { 28 ExecuteAdd (_params); 29 } else if (_params [0].EqualsCaseInsensitive ("remove")) { 30 ExecuteRemove (_params); 31 } else if (_params [0].EqualsCaseInsensitive ("list")) { 32 ExecuteList (); 33 } else { 34 SdtdConsole.Instance.Output ("Invalid sub command \"" + _params [0] + "\"."); 40 35 } 41 36 } else {
Note:
See TracChangeset
for help on using the changeset viewer.