public ResourceListMenu(Client client, ServerMenu parent) : base("Resources", parent) { foreach (var resource in new ResourceList()) { Add(new MenuItemSubMenu(client, this, new ResourceMenu(client, resource, this))); } }
public AdminMenu(Client client) : base("HyperAdmin") { _client = client; var players = new PlayerListMenu(this, client); Add(new MenuItemSubMenu(client, this, players, ace: Constants.AceAdminMonitor)); // TODO: Fix Overhead Names (Mooshe) //var hudMenu = new HudMenu( client, this ); //Add( new MenuItemSubMenu( client, this, hudMenu, ace: Constants.AceAdminMonitor ) ); var serverMenu = new ServerMenu(client, this); Add(new MenuItemSubMenu(client, this, serverMenu, ace: Constants.AceAdminMonitor)); }