Server.Misc.MapDefinitions.RegisterMap C# (CSharp) Méthode

RegisterMap() public static méthode

public static RegisterMap ( int mapIndex, int mapID, int fileIndex, int width, int height, int season, string name, MapRules rules ) : void
mapIndex int
mapID int
fileIndex int
width int
height int
season int
name string
rules MapRules
Résultat void
		public static void RegisterMap( int mapIndex, int mapID, int fileIndex, int width, int height, int season, string name, MapRules rules )
		{
			Map newMap = new Map( mapID, mapIndex, fileIndex, width, height, season, name, rules );

			Map.Maps[mapIndex] = newMap;
			Map.AllMaps.Add( newMap );
		}
	}