C# Class OpenRA.Mods.Common.Widgets.Logic.MainMenuLogic

Inheritance: ChromeLogic
Show file Open project: pchote/OpenRA

Protected Properties

Property Type Description
menuType MenuType

Protected Methods

Method Description
DisplayNews ( IEnumerable newsItems ) : void
Dispose ( bool disposing ) : void
LoadAndDisplayNews ( OpenRA.Widgets.Widget newsBG ) : void
LoadMapIntoEditor ( string uid ) : void
NewsDownloadComplete ( AsyncCompletedEventArgs e, string cacheFile, NewsItem oldNews, System.Action onNewsDownloaded ) : void
OnRemoteDirectConnect ( string host, int port ) : void
OpenSkirmishLobbyPanel ( ) : void
RemoveShellmapUI ( ) : void
SetNewsStatus ( string message ) : void
StartSkirmishGame ( ) : void
SwitchMenu ( MenuType type ) : void

Private Methods

Method Description
GetSystemInformation ( ) : Dictionary>
MainMenuLogic ( OpenRA.Widgets.Widget widget, World world, ModData modData ) : System
ParseNews ( string path ) : NewsItem[]

Method Details

DisplayNews() protected method

protected DisplayNews ( IEnumerable newsItems ) : void
newsItems IEnumerable
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

LoadAndDisplayNews() protected method

protected LoadAndDisplayNews ( OpenRA.Widgets.Widget newsBG ) : void
newsBG OpenRA.Widgets.Widget
return void

LoadMapIntoEditor() protected method

protected LoadMapIntoEditor ( string uid ) : void
uid string
return void

NewsDownloadComplete() protected method

protected NewsDownloadComplete ( AsyncCompletedEventArgs e, string cacheFile, NewsItem oldNews, System.Action onNewsDownloaded ) : void
e System.ComponentModel.AsyncCompletedEventArgs
cacheFile string
oldNews NewsItem
onNewsDownloaded System.Action
return void

OnRemoteDirectConnect() protected method

protected OnRemoteDirectConnect ( string host, int port ) : void
host string
port int
return void

OpenSkirmishLobbyPanel() protected method

protected OpenSkirmishLobbyPanel ( ) : void
return void

RemoveShellmapUI() protected method

protected RemoveShellmapUI ( ) : void
return void

SetNewsStatus() protected method

protected SetNewsStatus ( string message ) : void
message string
return void

StartSkirmishGame() protected method

protected StartSkirmishGame ( ) : void
return void

SwitchMenu() protected method

protected SwitchMenu ( MenuType type ) : void
type MenuType
return void

Property Details

menuType protected property

protected MenuType menuType
return MenuType