C# Class withSIX.Mini.Plugin.Starbound.Models.StarboundGame

Inheritance: BasicSteamGame, IQueryServers
ファイルを表示 Open project: SIXNetworks/withSIX.Desktop

Public Methods

Method Description
GetPublisherUrl ( ) : Uri
GetPublisherUrl ( ContentPublisher c ) : Uri
GetPublisherUrl ( Publisher c ) : Uri
GetServerInfos ( IServerQueryFactory factory, IReadOnlyCollection addresses, Action act, ServerQueryOptions options ) : Task
GetServers ( IServerQueryFactory factory, CancellationToken cancelToken, Action act ) : Task
StarboundGame ( System.Guid id, StarboundGameSettings settings ) : System

Protected Methods

Method Description
EnableMods ( ILaunchContentAction launchContentAction ) : Task
GetDefaultDirectory ( ) : IAbsoluteDirectoryPath
GetExecutables ( LaunchAction action ) : IEnumerable
GetStartupParameters ( ILaunchContentAction action ) : IEnumerable
InstallMod ( IModContent mod ) : Task
UninstallMod ( IModContent mod ) : Task

Private Methods

Method Description
CreateMod ( IModContent mod ) : StarboundMod
GetAdvancedStartupParameters ( ILaunchContentAction action ) : IEnumerable
GetFromGameServerQuery ( IEnumerable addresses, ServerQueryOptions options, Action act ) : Task
GetModInstallationDirectory ( ) : IAbsoluteDirectoryPath
GetPaksAndModPaks ( DirectoryInfo di ) : IEnumerable
GetServer ( IEnumerable content, LaunchAction launchAction ) : CollectionServer
HandleFileBasedMod ( IAbsoluteFilePath pak, IEnumerable packages ) : void
HandleModDirectory ( string packages ) : void

Method Details

EnableMods() protected method

protected EnableMods ( ILaunchContentAction launchContentAction ) : Task
launchContentAction ILaunchContentAction
return Task

GetDefaultDirectory() protected method

protected GetDefaultDirectory ( ) : IAbsoluteDirectoryPath
return IAbsoluteDirectoryPath

GetExecutables() protected method

protected GetExecutables ( LaunchAction action ) : IEnumerable
action LaunchAction
return IEnumerable

GetPublisherUrl() public method

public GetPublisherUrl ( ) : Uri
return System.Uri

GetPublisherUrl() public method

public GetPublisherUrl ( ContentPublisher c ) : Uri
c ContentPublisher
return System.Uri

GetPublisherUrl() public method

public GetPublisherUrl ( Publisher c ) : Uri
c Publisher
return System.Uri

GetServerInfos() public method

public GetServerInfos ( IServerQueryFactory factory, IReadOnlyCollection addresses, Action act, ServerQueryOptions options ) : Task
factory IServerQueryFactory
addresses IReadOnlyCollection
act Action
options withSIX.Mini.Core.Games.ServerQueryOptions
return Task

GetServers() public method

public GetServers ( IServerQueryFactory factory, CancellationToken cancelToken, Action act ) : Task
factory IServerQueryFactory
cancelToken System.Threading.CancellationToken
act Action
return Task

GetStartupParameters() protected method

protected GetStartupParameters ( ILaunchContentAction action ) : IEnumerable
action ILaunchContentAction
return IEnumerable

InstallMod() protected method

protected InstallMod ( IModContent mod ) : Task
mod IModContent
return Task

StarboundGame() public method

public StarboundGame ( System.Guid id, StarboundGameSettings settings ) : System
id System.Guid
settings StarboundGameSettings
return System

UninstallMod() protected method

protected UninstallMod ( IModContent mod ) : Task
mod IModContent
return Task