Click or drag to resize
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.Players
Assembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax
public int GetPositionPreFlop(
	TablePlayer whichPlayer
)

Parameters

whichPlayer
Type: Potbot.Gameplay.PlayersTablePlayer
The player to get the relative position to the button preflop.

Return Value

Type: Int32
1 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