Property | Type | Description | |
---|---|---|---|
DefaultShips | Ship>.Dictionary | ||
IsRunning | bool | ||
OnEnd | Player>.Action | ||
Random |
Property | Type | Description | |
---|---|---|---|
ConnectPlayer | |||
DisconnectPlayer | void | ||
DisconnectPlayer | void | ||
GetDefaultShip | |||
timer_Elapsed | void |
Method | Description | |
---|---|---|
Add ( |
||
DisplayGameStatus ( int accountId, bool isAdmin ) : string | ||
EliminatePlayer ( |
||
End ( ) : void | ||
ForceEnd ( ) : void | ||
Game ( ) : System | ||
GenScore ( int place ) : double | ||
GenScoreExpected ( int playerRating, int opponentRating ) : double | ||
GetActivePlayerCount ( ) : int | ||
GetPlayer ( int accountId ) : |
||
GetPlayer ( string sessionId ) : |
||
GetScoreExpected ( |
||
Join ( int accountId, string name, int rating ) : |
||
Join ( |
||
Load ( byte data ) : |
||
Run ( ) : void | ||
Save ( ) : byte[] | ||
SendForumMessage ( string text, |
||
Start ( ) : void | ||
StopRunning ( ) : void | ||
Unjoin ( |
||
Update ( System.TimeSpan elapsed ) : void |
Method | Description | |
---|---|---|
ConnectPlayer ( string signalrConnectionId, string sessionId ) : |
||
DisconnectPlayer ( |
||
DisconnectPlayer ( string signalrConnectionId, string sessionId ) : void | ||
GetDefaultShip ( int defaultShipNumber, string name = "Heart of the Deep" ) : |
||
timer_Elapsed ( object sender, System e ) : void |
public DisplayGameStatus ( int accountId, bool isAdmin ) : string | ||
accountId | int | |
isAdmin | bool | |
return | string |
public EliminatePlayer ( |
||
loser | ||
return | void |
public GenScoreExpected ( int playerRating, int opponentRating ) : double | ||
playerRating | int | |
opponentRating | int | |
return | double |
public GetPlayer ( string sessionId ) : |
||
sessionId | string | |
return |
public GetScoreExpected ( |
||
player | ||
return | double |
public Join ( int accountId, string name, int rating ) : |
||
accountId | int | |
name | string | |
rating | int | |
return |
public SendForumMessage ( string text, |
||
text | string | |
source | ||
sourceName | string | |
return | void |
public Update ( System.TimeSpan elapsed ) : void | ||
elapsed | System.TimeSpan | |
return | void |