C# Class Dwarrowdelf.Client.ConnectManager

显示文件 Open project: tomba/dwarrowdelf

Public Methods

Method Description
ConnectManager ( ) : System
ConnectPlayerAsync ( ConnectionType connectionType, IProgress prog ) : Task
DisconnectAsync ( IProgress prog ) : Task
OnDisconnected ( ) : void
OnGameSaved ( ) : void
StartServerAndConnectAsync ( EmbeddedServerOptions options, ConnectionType connectionType, IProgress prog ) : Task
StartServerAsync ( EmbeddedServerOptions options, IProgress prog ) : Task
StopServerAsync ( IProgress prog ) : Task

Method Details

ConnectManager() public method

public ConnectManager ( ) : System
return System

ConnectPlayerAsync() public method

public ConnectPlayerAsync ( ConnectionType connectionType, IProgress prog ) : Task
connectionType ConnectionType
prog IProgress
return Task

DisconnectAsync() public method

public DisconnectAsync ( IProgress prog ) : Task
prog IProgress
return Task

OnDisconnected() public method

public OnDisconnected ( ) : void
return void

OnGameSaved() public method

public OnGameSaved ( ) : void
return void

StartServerAndConnectAsync() public method

public StartServerAndConnectAsync ( EmbeddedServerOptions options, ConnectionType connectionType, IProgress prog ) : Task
options EmbeddedServerOptions
connectionType ConnectionType
prog IProgress
return Task

StartServerAsync() public method

public StartServerAsync ( EmbeddedServerOptions options, IProgress prog ) : Task
options EmbeddedServerOptions
prog IProgress
return Task

StopServerAsync() public method

public StopServerAsync ( IProgress prog ) : Task
prog IProgress
return Task