C# Class OpenRA.Settings

Show file Open project: OpenRA/OpenRA Class Usage Examples

Public Properties

Property Type Description
Chat ChatSettings
Debug DebugSettings
Game GameSettings
Graphics GraphicSettings
Keys KeySettings
Player PlayerSettings
Sections object>.Dictionary
Server ServerSettings
Sound SoundSettings

Public Methods

Method Description
SanitizedPlayerName ( string dirty ) : string
SanitizedServerName ( string dirty ) : string
Save ( ) : void
Settings ( string file, Arguments args ) : System

Private Methods

Method Description
LoadSectionYaml ( MiniYaml yaml, object section ) : void
SanitizedName ( string dirty ) : string

Method Details

SanitizedPlayerName() public static method

public static SanitizedPlayerName ( string dirty ) : string
dirty string
return string

SanitizedServerName() public static method

public static SanitizedServerName ( string dirty ) : string
dirty string
return string

Save() public method

public Save ( ) : void
return void

Settings() public method

public Settings ( string file, Arguments args ) : System
file string
args Arguments
return System

Property Details

Chat public property

public ChatSettings,OpenRA Chat
return ChatSettings

Debug public property

public DebugSettings,OpenRA Debug
return DebugSettings

Game public property

public GameSettings,OpenRA Game
return GameSettings

Graphics public property

public GraphicSettings,OpenRA Graphics
return GraphicSettings

Keys public property

public KeySettings,OpenRA Keys
return KeySettings

Player public property

public PlayerSettings,OpenRA Player
return PlayerSettings

Sections public property

public Dictionary Sections
return object>.Dictionary

Server public property

public ServerSettings,OpenRA Server
return ServerSettings

Sound public property

public SoundSettings,OpenRA Sound
return SoundSettings