PlayersManagerGetPositionPreFlop Method |
Returns the relative position to the button of a player beginning with 1 after biglind-player (BB-player) in preflop stage.
Namespace: Potbot.Gameplay.PlayersAssembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax public int GetPositionPreFlop(
TablePlayer whichPlayer
)
Public Function GetPositionPreFlop (
whichPlayer As TablePlayer
) As Integer
member GetPositionPreFlop :
whichPlayer : TablePlayer -> int
Parameters
- whichPlayer
- Type: Potbot.Gameplay.PlayersTablePlayer
The player to get the relative position to the button preflop.
Return Value
Type:
Int321 for the player after BB-player (under the gun), 2 for the player after the under-the-gun-player and so on. Caution: if there are only 2 players, 2 is returned for SB-player and 1 for BB-player. Returns -1 on error.
Remarks Caution: if there are only 2 players, 2 is returned for SB-player and 1 for BB-player. Caution: Should only be called preflop or else -1 will be returned!
See Also