C# Class GameServer.Tests.MockClient

Inheritance: IUserEventObserver
显示文件 Open project: SaladLab/TicTacToe Class Usage Examples

Public Methods

Method Description
LoginAsync ( string id, string password ) : Task
MockClient ( ClusterNodeContext clusterContex ) : System
PrepareUserAsync ( string id, string password, string userName = null ) : Task

Private Methods

Method Description
CreateInitialActor ( IActorContext context ) : Tuple[]
IUserEventObserver ( TrackableUserContextTracker userContextTracker ) : void

Method Details

LoginAsync() public method

public LoginAsync ( string id, string password ) : Task
id string
password string
return Task

MockClient() public method

public MockClient ( ClusterNodeContext clusterContex ) : System
clusterContex ClusterNodeContext
return System

PrepareUserAsync() public method

public PrepareUserAsync ( string id, string password, string userName = null ) : Task
id string
password string
userName string
return Task