/* Retrieves the name of the setting used to represent the window hud position * for a particular client and the max seating capacity. * Ex. client = "PokerStars.it" and maxSeats = 9 * Result => "PokerStars.it_9_players_hud_window_positions" */ private String GetSettingNameForHudWindowPositions(String clientName, int maxSeats, PokerGameType gameType) { // Replace spaces with underscores String escapedClientName = clientName.Replace(" ", "_"); // Convert enum to string String readableGameType = gameType.ToString("g"); return(String.Format("{0}_{1}_{2}_players_hud_window_positions", escapedClientName, maxSeats, readableGameType)); }
public string ToShortString() { return(PokerGameType.ToString() + PokerGame); }
public override string ToString() { return(PokerGameType.ToString() + PokerGame + (IsZoom ? " Speed" : "") + " " + PokerGamePlayer); }
/* Retrieves the name of the setting used to represent the window hud position * for a particular client and the max seating capacity. * Ex. client = "PokerStars.it" and maxSeats = 9 * Result => "PokerStars.it_9_players_hud_window_positions" */ private String GetSettingNameForHudWindowPositions(String clientName, int maxSeats, PokerGameType gameType) { // Replace spaces with underscores String escapedClientName = clientName.Replace(" ", "_"); // Convert enum to string String readableGameType = gameType.ToString("g"); return String.Format("{0}_{1}_{2}_players_hud_window_positions", escapedClientName, maxSeats, readableGameType); }