C# Class PokerMuck.HoldemHHParser

Inheritance: HHParser
Datei anzeigen Open project: pierotofy/PokerMuck

Public Methods

Method Description
HoldemHHParser ( PokerClient pokerClient, String handhistoryFilename ) : System
ParseLine ( string line ) : void

Protected Methods

Method 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

Method 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 method

public HoldemHHParser ( PokerClient pokerClient, String handhistoryFilename ) : System
pokerClient PokerClient
handhistoryFilename String
return System

OnFinalBoardAvailable() protected method

protected OnFinalBoardAvailable ( PokerMuck.Board board ) : void
board PokerMuck.Board
return void

OnFoundBigBlind() protected method

protected OnFoundBigBlind ( String playerName ) : void
playerName String
return void

OnFoundBigBlindAmount() protected method

protected OnFoundBigBlindAmount ( float amount ) : void
amount float
return void

OnFoundButton() protected method

protected OnFoundButton ( int seatNumber ) : void
seatNumber int
return void

OnFoundSmallBlind() protected method

protected OnFoundSmallBlind ( String playerName ) : void
playerName String
return void

OnFoundSmallBlindAmount() protected method

protected OnFoundSmallBlindAmount ( float amount ) : void
amount float
return void

OnFoundWinner() protected method

protected OnFoundWinner ( String playerName ) : void
playerName String
return void

OnPlayerBet() protected method

protected OnPlayerBet ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
playerName String
amount float
gamePhase HoldemGamePhase
return void

OnPlayerCalled() protected method

protected OnPlayerCalled ( String playerName, float amount, HoldemGamePhase gamePhase ) : void
playerName String
amount float
gamePhase HoldemGamePhase
return void

OnPlayerChecked() protected method

protected OnPlayerChecked ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
return void

OnPlayerFolded() protected method

protected OnPlayerFolded ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
return void

OnPlayerPushedAllIn() protected method

protected OnPlayerPushedAllIn ( String playerName, HoldemGamePhase gamePhase ) : void
playerName String
gamePhase HoldemGamePhase
return void

OnPlayerRaised() protected method

protected OnPlayerRaised ( String playerName, float raiseAmount, HoldemGamePhase gamePhase ) : void
playerName String
raiseAmount float
gamePhase HoldemGamePhase
return void

ParseLine() public method

public ParseLine ( string line ) : void
line string
return void