Click or drag to resize
PlayersManager Class
The Playersmanager class offers various methods/properties with information about the players. Get the access to it by Ai's PlayersManager property.
Inheritance Hierarchy
SystemObject
  SystemMarshalByRefObject
    Potbot.Gameplay.PlayersPlayersManager

Namespace: Potbot.Gameplay.Players
Assembly: PotBot (in PotBot.exe) Version: 0.9.0.1 (0.9.0.1)
Syntax
public abstract class PlayersManager : MarshalByRefObject

The PlayersManager type exposes the following members.

Properties
  NameDescription
Public propertyGetNRfolders
Returns the number of players who have folded in the current hand (regardless what StageOfHand).
Public propertyGetPlayersWhoStillCanWin
Determines the the number of players who are still in the hand (incl. ALLIN, e.g. players that can still win money in the current hand).
Public propertyNrPlayersWhoAreAllIn
Returns the number of players who are all in in the current hand.
Top
Methods
  NameDescription
Public methodAnyBodyRaisedPreFlop
Determines if any player raised preflop excpet the player given in param
Public methodGetAllInPlayersUnits

This method runs through every player that is all in and adds a value (allin-value) between 0 exl. and 1 incl. to the result. E.g.:

If a player had 100 to call and went all in with his remaining stack of 10 the value for this player would be 0.1.

If a player had 100 to call and went all in with his remaining stack of 50 the value for this player would be 0.5.

If a player had 100 to call and went all in with his remaining stack of 100 the value for this player would be 1.

The idea behind this method is to be able to better guess the number of opponents your are up against. If you just consider GetNumberOfPlayers you will not get the players who are all in. If you add NrPlayersWhoAreAllIn you have the correct numbre of opponents, BUT since it is easier for someone to call if he has only little stack left, this method helps to better guess the strength of the players who are all in.

Public methodGetNrCalledAndGotRaised
Returns the number of players (expcept the inActualPlayer-player) that called and got raised again in current stage (and in current hand of course)
Public methodGetNrLimpersAndBlindPlayers
Returns the number of limpers (=players who just called the blind bet) and/or blindplayers
Public methodGetNrPlayersCalledLastRaise
Returns the number of players (expcept the current player) that called the last raise in current stage (and in current hand of course)
Public methodGetNrPlayersLastMoveRaise
Retunrs the number of players (expcept the inCurrentPlayer player) whose last move in current stage (and in current hand of course) was a raise or reraise
Public methodGetPositionPreFlop
Returns the relative position to the button of a player beginning with 1 after biglind-player (BB-player) in preflop stage.
Public methodWhoCalledExceptMe
Returns the player who called except the inMe-player (usually yourself)
Top
See Also