C# Class CNCMaps.Engine.EngineSettings

Datei anzeigen Open project: zzattack/ccmaps-net Class Usage Examples

Public Properties

Property Type Description
Settings CNCMaps.Shared.RenderSettings

Public Methods

Method Description
ConfigureFromArgs ( string args ) : bool
ConfigureFromSettings ( RenderSettings settings ) : bool
DetermineMapName ( MapFile map, EngineType engine ) : string

Gets the determine map name.

Execute ( ) : EngineResult

Private Methods

Method Description
InitLoggerConfig ( ) : void
MakeValidFileName ( string name ) : string

Makes a valid file name.

ShowHelp ( ) : void
StripPlayersFromName ( string mapName ) : string
ValidateSettings ( ) : bool

Method Details

ConfigureFromArgs() public method

public ConfigureFromArgs ( string args ) : bool
args string
return bool

ConfigureFromSettings() public method

public ConfigureFromSettings ( RenderSettings settings ) : bool
settings CNCMaps.Shared.RenderSettings
return bool

DetermineMapName() public static method

Gets the determine map name.
public static DetermineMapName ( MapFile map, EngineType engine ) : string
map CNCMaps.FileFormats.Map.MapFile
engine EngineType
return string

Execute() public method

public Execute ( ) : EngineResult
return EngineResult

Property Details

Settings public_oe static_oe property

public static RenderSettings,CNCMaps.Shared Settings
return CNCMaps.Shared.RenderSettings