C# Class GR.Gambling.Backgammon.Venue.BGClient

Inheritance: GR.Gambling.VenueClient
Afficher le fichier Open project: alexhanh/Botting-Library Class Usage Examples

Protected Properties

Свойство Type Description
lobby BGLobby

Méthodes publiques

Méthode Description
BGClient ( ) : System
BeginScanning ( int update_interval ) : void
CreateGameWindow ( Window window ) : BGGameWindow
EndScanning ( ) : void
InitializeForPlay ( ) : bool

This function should start the client, wait for the lobby to load, login and clear all the popups and make preparations for game play. Should call OnUpdateDetected() if the client is updated while starting. Should return true on succesful operation, false otherwise.

IsGameWindow ( Window window ) : bool
Rake ( OnlineMatchInfo match_info, int winner, int cube_value, int points ) : decimal

Scan ( ) : void

Méthodes protégées

Méthode Description
OnUpdateDetected ( ) : void

Private Methods

Méthode Description
ContinuousScan ( ) : void
WindowEnumCallback ( IntPtr hwnd, int lParam ) : bool

Method Details

BGClient() public méthode

public BGClient ( ) : System
Résultat System

BeginScanning() public méthode

public BeginScanning ( int update_interval ) : void
update_interval int
Résultat void

CreateGameWindow() public abstract méthode

public abstract CreateGameWindow ( Window window ) : BGGameWindow
window GR.Win32.Window
Résultat BGGameWindow

EndScanning() public méthode

public EndScanning ( ) : void
Résultat void

InitializeForPlay() public abstract méthode

This function should start the client, wait for the lobby to load, login and clear all the popups and make preparations for game play. Should call OnUpdateDetected() if the client is updated while starting. Should return true on succesful operation, false otherwise.
public abstract InitializeForPlay ( ) : bool
Résultat bool

IsGameWindow() public abstract méthode

public abstract IsGameWindow ( Window window ) : bool
window GR.Win32.Window
Résultat bool

OnUpdateDetected() protected méthode

protected OnUpdateDetected ( ) : void
Résultat void

Rake() public abstract méthode

public abstract Rake ( OnlineMatchInfo match_info, int winner, int cube_value, int points ) : decimal
match_info OnlineMatchInfo
winner int
cube_value int
points int
Résultat decimal

Scan() public méthode

public Scan ( ) : void
Résultat void

Property Details

lobby protected_oe property

protected BGLobby,GR.Gambling.Backgammon.Venue lobby
Résultat BGLobby