C# Class PokerMuck.HoldemHHParser

Inheritance: HHParser
Afficher le fichier Open project: pierotofy/PokerMuck

Méthodes publiques

Méthode Description
HoldemHHParser ( PokerClient pokerClient, String handhistoryFilename ) : System
ParseLine ( string line ) : void

Méthodes protégées

Méthode Description
OnFinalBoardAvailable ( PokerMuck.Board board ) : void
OnFoundBigBlind ( String playerName ) : void
OnFoundBigBlindAmount ( float amount ) : void
OnFoundButton ( int seatNumber ) : void
OnFoundSmallBlind ( String playerName ) : void
OnFoundSmallBlindAmount ( float amount ) : void
OnFoundWinner ( String playerName ) : void
OnPlayerBet ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
OnPlayerCalled ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
OnPlayerChecked ( String playerName, HoldemGamePhase gamePhase ) : void
OnPlayerFolded ( String playerName, HoldemGamePhase gamePhase ) : void
OnPlayerPushedAllIn ( String playerName, HoldemGamePhase gamePhase ) : void
OnPlayerRaised ( String playerName, float raiseAmount, HoldemGamePhase gamePhase ) : void

Private Methods

Méthode Description
GenerateCardsFromText ( String cardsText ) : List
HandleFinalBoard ( List cards ) : void
HoldemHHParser_RoundHasTerminated ( ) : void
InfereBlindsFromButton ( int buttonSeatNumber ) : void
ParseForGamePhaseChanges ( String line ) : bool
SetupNewRound ( ) : void

Method Details

HoldemHHParser() public méthode

public HoldemHHParser ( PokerClient pokerClient, String handhistoryFilename ) : System
pokerClient PokerClient
handhistoryFilename String
Résultat System

OnFinalBoardAvailable() protected méthode

protected OnFinalBoardAvailable ( PokerMuck.Board board ) : void
board PokerMuck.Board
Résultat void

OnFoundBigBlind() protected méthode

protected OnFoundBigBlind ( String playerName ) : void
playerName String
Résultat void

OnFoundBigBlindAmount() protected méthode

protected OnFoundBigBlindAmount ( float amount ) : void
amount float
Résultat void

OnFoundButton() protected méthode

protected OnFoundButton ( int seatNumber ) : void
seatNumber int
Résultat void

OnFoundSmallBlind() protected méthode

protected OnFoundSmallBlind ( String playerName ) : void
playerName String
Résultat void

OnFoundSmallBlindAmount() protected méthode

protected OnFoundSmallBlindAmount ( float amount ) : void
amount float
Résultat void

OnFoundWinner() protected méthode

protected OnFoundWinner ( String playerName ) : void
playerName String
Résultat void

OnPlayerBet() protected méthode

protected OnPlayerBet ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
playerName String
amount float
gamePhase HoldemGamePhase
Résultat void

OnPlayerCalled() protected méthode

protected OnPlayerCalled ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
playerName String
amount float
gamePhase HoldemGamePhase
Résultat void

OnPlayerChecked() protected méthode

protected OnPlayerChecked ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
Résultat void

OnPlayerFolded() protected méthode

protected OnPlayerFolded ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
Résultat void

OnPlayerPushedAllIn() protected méthode

protected OnPlayerPushedAllIn ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
Résultat void

OnPlayerRaised() protected méthode

protected OnPlayerRaised ( String playerName, float raiseAmount, HoldemGamePhase gamePhase ) : void
playerName String
raiseAmount float
gamePhase HoldemGamePhase
Résultat void

ParseLine() public méthode

public ParseLine ( string line ) : void
line string
Résultat void