GetSupportedMapsForGameMode() public static method

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