Class MapScheduler
public class MapScheduler
- Inheritance
-
MapScheduler
- Inherited Members
Constructors
MapScheduler(IConfiguration, ILogger<MapScheduler>)
public MapScheduler(IConfiguration systemConfiguration, ILogger<MapScheduler> logger)
Parameters
systemConfigurationIConfigurationloggerILogger<MapScheduler>
Properties
Current
The index of the current map in Uncreated.Warfare.Maps.MapScheduler.MapRotation. Lines up with the primary key in the season info database.
public int Current { get; }
Property Value
MapCount
Number of maps in rotation.
public static int MapCount { get; }
Property Value
Methods
FindMap(string?)
Find the index of a map from it's name or ID as a string.
public int FindMap(string? mapName)
Parameters
mapNamestring
Returns
GetMapName(int)
Get the name of a map from it's index.
public string GetMapName(int index)
Parameters
indexint