1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-09 23:00:57 -05:00

update help command to use per game commands

This commit is contained in:
RaidMax
2021-11-20 20:32:15 -06:00
parent 882175401e
commit ba2349989f
5 changed files with 98 additions and 74 deletions

View File

@ -15,6 +15,7 @@ using System;
using System.Collections;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Collections.Immutable;
using System.Linq;
using System.Reflection;
using System.Text;
@ -217,6 +218,8 @@ namespace IW4MAdmin.Application
return _commands;
}
public IReadOnlyList<IManagerCommand> Commands => _commands.ToImmutableList();
public async Task UpdateServerStates()
{
// store the server hash code and task for it