implement map and gametype command

This commit is contained in:
RaidMax
2021-11-28 10:04:37 -06:00
parent e739c91b52
commit 15cb114c15
9 changed files with 724 additions and 80 deletions

View File

@ -7,6 +7,7 @@ namespace SharedLibraryCore.Configuration
public string[] AutoMessages { get; set; }
public string[] GlobalRules { get; set; }
public MapConfiguration[] Maps { get; set; }
public GametypeConfiguration[] Gametypes { get; set; }
public QuickMessageConfiguration[] QuickMessages {get; set;}
public string[] DisallowedClientNames { get; set; }
public GameStringConfiguration GameStrings { get; set; }

View File

@ -0,0 +1,8 @@
namespace SharedLibraryCore.Configuration
{
public class GametypeConfiguration
{
public Server.Game Game { get; set; }
public Gametype[] Gametypes { get; set; }
}
}

View File

@ -1,16 +1,8 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static SharedLibraryCore.Server;
namespace SharedLibraryCore.Configuration
namespace SharedLibraryCore.Configuration
{
public class MapConfiguration
{
public Game Game { get; set; }
public List<Map> Maps { get; set; }
public Server.Game Game { get; set; }
public Map[] Maps { get; set; }
}
}