C# Class PokerMuck.PokerClient

显示文件 Open project: pierotofy/PokerMuck Class Usage Examples

Protected Properties

Property Type Description
config System.Collections.Hashtable
regex System.Collections.Hashtable

Public Methods

Method Description
DoPregameProcessing ( String storedHandHistoryDirectory ) : void
DoStartupProcessing ( String storedHandHistoryDirectory ) : void
GenerateCardFromString ( String card ) : PokerMuck.Card
GetConfig ( String key ) : Object
GetConfigBoolean ( String key ) : System.Boolean
GetConfigFloat ( String key ) : float
GetConfigInt ( String key ) : int
GetConfigString ( String key ) : String
GetCurrentHandHistorySubdirectory ( ) : String
GetHandHistoryFilenameRegexPatternFromWindowTitle ( String windowTitle ) : String
GetMuckedHands ( String currentGameId ) : String>>.List
GetPokerGameFromGameDescription ( String gameDescription ) : PokerGame
GetPokerGameTypeFromWindowTitle ( String windowTitle ) : PokerGameType
GetRegex ( String key ) : Regex
HasRegex ( String key ) : bool
InferMaxSeatingCapacity ( String line, String filename, String currentGameId ) : int
InitializeLanguage ( String language ) : void
IsPlayerSeatingPositionRelative ( PokerGameType gameType ) : bool
ProvidesConfig ( String key ) : bool
SetTheme ( String theme ) : void

Protected Methods

Method Description
InitializeData ( ) : void
PokerClient ( ) : System
StringToRegexPattern ( String str ) : String

Private Methods

Method Description
LoadSupportedVisualRecognitionThemes ( ) : void
ResetData ( ) : void

Method Details

DoPregameProcessing() public method

public DoPregameProcessing ( String storedHandHistoryDirectory ) : void
storedHandHistoryDirectory String
return void

DoStartupProcessing() public method

public DoStartupProcessing ( String storedHandHistoryDirectory ) : void
storedHandHistoryDirectory String
return void

GenerateCardFromString() public method

public GenerateCardFromString ( String card ) : PokerMuck.Card
card String
return PokerMuck.Card

GetConfig() public method

public GetConfig ( String key ) : Object
key String
return Object

GetConfigBoolean() public method

public GetConfigBoolean ( String key ) : System.Boolean
key String
return System.Boolean

GetConfigFloat() public method

public GetConfigFloat ( String key ) : float
key String
return float

GetConfigInt() public method

public GetConfigInt ( String key ) : int
key String
return int

GetConfigString() public method

public GetConfigString ( String key ) : String
key String
return String

GetCurrentHandHistorySubdirectory() public abstract method

public abstract GetCurrentHandHistorySubdirectory ( ) : String
return String

GetHandHistoryFilenameRegexPatternFromWindowTitle() public abstract method

public abstract GetHandHistoryFilenameRegexPatternFromWindowTitle ( String windowTitle ) : String
windowTitle String
return String

GetMuckedHands() public method

public GetMuckedHands ( String currentGameId ) : String>>.List
currentGameId String
return String>>.List

GetPokerGameFromGameDescription() public abstract method

public abstract GetPokerGameFromGameDescription ( String gameDescription ) : PokerGame
gameDescription String
return PokerGame

GetPokerGameTypeFromWindowTitle() public abstract method

public abstract GetPokerGameTypeFromWindowTitle ( String windowTitle ) : PokerGameType
windowTitle String
return PokerGameType

GetRegex() public method

public GetRegex ( String key ) : Regex
key String
return System.Text.RegularExpressions.Regex

HasRegex() public method

public HasRegex ( String key ) : bool
key String
return bool

InferMaxSeatingCapacity() public method

public InferMaxSeatingCapacity ( String line, String filename, String currentGameId ) : int
line String
filename String
currentGameId String
return int

InitializeData() protected abstract method

protected abstract InitializeData ( ) : void
return void

InitializeLanguage() public method

public InitializeLanguage ( String language ) : void
language String
return void

IsPlayerSeatingPositionRelative() public abstract method

public abstract IsPlayerSeatingPositionRelative ( PokerGameType gameType ) : bool
gameType PokerGameType
return bool

PokerClient() protected method

protected PokerClient ( ) : System
return System

ProvidesConfig() public method

public ProvidesConfig ( String key ) : bool
key String
return bool

SetTheme() public method

public SetTheme ( String theme ) : void
theme String
return void

StringToRegexPattern() protected method

protected StringToRegexPattern ( String str ) : String
str String
return String

Property Details

config protected_oe property

protected Hashtable,System.Collections config
return System.Collections.Hashtable

regex protected_oe property

protected Hashtable,System.Collections regex
return System.Collections.Hashtable