C# Class OpenRA.Settings

Mostrar archivo 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_oe property

public ChatSettings,OpenRA Chat
return ChatSettings

Debug public_oe property

public DebugSettings,OpenRA Debug
return DebugSettings

Game public_oe property

public GameSettings,OpenRA Game
return GameSettings

Graphics public_oe property

public GraphicSettings,OpenRA Graphics
return GraphicSettings

Keys public_oe property

public KeySettings,OpenRA Keys
return KeySettings

Player public_oe property

public PlayerSettings,OpenRA Player
return PlayerSettings

Sections public_oe property

public Dictionary Sections
return object>.Dictionary

Server public_oe property

public ServerSettings,OpenRA Server
return ServerSettings

Sound public_oe property

public SoundSettings,OpenRA Sound
return SoundSettings