GetSupportedMapsForGameMode() public static méthode

returns a list of the class names of all maps that support the given game mode
public static GetSupportedMapsForGameMode ( IGameMode gameMode ) : IEnumerable
gameMode IGameMode
Résultat IEnumerable
Exemple #1
0
 private void updateMapList(string gameModeName)
 {
     mapList = GameModeManager.GetSupportedMapsForGameMode(gameModeName).ToArray();
     humanReadableMapList = mapList.Select(s => GameModeManager.GetHumanReadableNameForMap(s)).ToArray();
     selectedMap          = 0;
 }