Свойство | Type | Description | |
---|---|---|---|
client | |||
window |
Méthode | Description | |
---|---|---|
BGGameWindow ( |
||
Capture ( ) : |
||
Chat ( string text ) : void |
Writes a chat message to the game window chat.
|
|
Done ( ) : bool |
Finish the current move turn.
|
|
Double ( ) : bool |
Offer a double.
|
|
GetGameState ( ) : GameState | ||
GetGameState ( |
||
GetHashCode ( ) : int | ||
Leave ( ) : bool |
Close and leave the table.
|
|
MakeMove ( Move move, GameState gamestate ) : void | ||
Rake ( int player, int points ) : int | ||
Resign ( GameState gamestate, ResignValue resign_value ) : bool |
Offer a resign for a given value.
|
|
RespondToDouble ( DoubleResponse double_response ) : bool |
Respond back to a double offer.
|
|
RespondToRematch ( bool accept ) : bool |
Respond back to a rematch offer.
|
|
RespondToResign ( ResignResponse resign_response ) : bool |
Respond back to a resign offer.
|
|
Roll ( ) : bool |
Roll the dice.
|
|
ToString ( ) : string | ||
Undo ( ) : void |
This will undo last or undo all depending on which one is supported by the venue.
|
|
Update ( ) : void |
Checks the window and game status and raises the according events. Notice, the events are designed to support scenarios where one of the players is the observer.
|
Méthode | Description | |
---|---|---|
OnChatMessage ( string message ) : void | ||
OnDiceRolled ( GameState gamestate ) : void | ||
OnDiceRolled ( GameState gamestate, System.DateTime stamp ) : void | ||
OnDoubleOffered ( GameState gamestate ) : void | ||
OnDoubleOffered ( GameState gamestate, System.DateTime stamp ) : void | ||
OnNewGameStarted ( GameState gamestate ) : void | ||
OnNewGameStarted ( GameState gamestate, System.DateTime stamp ) : void | ||
OnOppDiceRolled ( int dice, bool opening_roll ) : void | ||
OnRematchOffered ( ) : void | ||
OnResignOfferDeclined ( ) : void | ||
OnResignOffered ( ResignValue resign_value ) : void | ||
OnResignOffered ( ResignValue resign_value, System.DateTime stamp ) : void | ||
OnSessionEnded ( ) : void | ||
OnTimeout ( ) : void | ||
OnTurnChanged ( GameState gamestate ) : void | ||
OnTurnChanged ( GameState gamestate, System.DateTime stamp ) : void |
public BGGameWindow ( |
||
window | ||
client | ||
Résultat | System |
public abstract Chat ( string text ) : void | ||
text | string | Text to write. |
Résultat | void |
public abstract GetGameState ( |
||
bitmap | ||
Résultat | GameState |
public abstract MakeMove ( Move move, GameState gamestate ) : void | ||
move | Move | |
gamestate | GameState | |
Résultat | void |
protected OnChatMessage ( string message ) : void | ||
message | string | |
Résultat | void |
protected OnDiceRolled ( GameState gamestate ) : void | ||
gamestate | GameState | |
Résultat | void |
protected OnDiceRolled ( GameState gamestate, System.DateTime stamp ) : void | ||
gamestate | GameState | |
stamp | System.DateTime | |
Résultat | void |
protected OnDoubleOffered ( GameState gamestate ) : void | ||
gamestate | GameState | |
Résultat | void |
protected OnDoubleOffered ( GameState gamestate, System.DateTime stamp ) : void | ||
gamestate | GameState | |
stamp | System.DateTime | |
Résultat | void |
protected OnNewGameStarted ( GameState gamestate ) : void | ||
gamestate | GameState | |
Résultat | void |
protected OnNewGameStarted ( GameState gamestate, System.DateTime stamp ) : void | ||
gamestate | GameState | |
stamp | System.DateTime | |
Résultat | void |
protected OnOppDiceRolled ( int dice, bool opening_roll ) : void | ||
dice | int | |
opening_roll | bool | |
Résultat | void |
protected OnResignOffered ( ResignValue resign_value ) : void | ||
resign_value | ResignValue | |
Résultat | void |
protected OnResignOffered ( ResignValue resign_value, System.DateTime stamp ) : void | ||
resign_value | ResignValue | |
stamp | System.DateTime | |
Résultat | void |
protected OnTurnChanged ( GameState gamestate ) : void | ||
gamestate | GameState | |
Résultat | void |
protected OnTurnChanged ( GameState gamestate, System.DateTime stamp ) : void | ||
gamestate | GameState | |
stamp | System.DateTime | |
Résultat | void |
public Rake ( int player, int points ) : int | ||
player | int | |
points | int | |
Résultat | int |
public abstract Resign ( GameState gamestate, ResignValue resign_value ) : bool | ||
gamestate | GameState | |
resign_value | ResignValue | |
Résultat | bool |
public abstract RespondToDouble ( DoubleResponse double_response ) : bool | ||
double_response | DoubleResponse | |
Résultat | bool |
public abstract RespondToRematch ( bool accept ) : bool | ||
accept | bool | |
Résultat | bool |
public abstract RespondToResign ( ResignResponse resign_response ) : bool | ||
resign_response | ResignResponse | |
Résultat | bool |
protected BGClient,GR.Gambling.Backgammon.Venue client | ||
Résultat |