Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::rules::GameOptions Struct Reference

#include <RuleTypes.hpp>

Collaboration diagram for monopoly::rules::GameOptions:
[legend]

Public Member Functions

bool operator== (const GameOptions &) const =default
 

Public Attributes

int housesPerHotel = 5
 
int maximumHouses = 32
 
int maximumHotels = 12
 
int interestRate = 10
 
int initialCash = 1500
 
int passingGoAmount = 200
 
int luxuryTaxAmount = 75
 
int taxRate = 10
 
int flatTaxFee = 200
 
bool hideCash = false
 
bool evenBuildRule = true
 
bool rollDiceToDecideStartingOrder = false
 
bool cheatingAllowed = false
 
bool aiTakesTimeToThink = true
 
int maximumTurnsInJail = 3
 
int getOutOfJailFee = 50
 
bool mortgagedCountsInGroupRent = true
 
int houseShortageLevel = 5
 
int hotelShortageLevel = 3
 
int auctionGoingTimeDelay = 5
 
int inactivityWarningTime = 0
 
int gameOverTimeLimit = 0
 
bool futureRentTradingAllowed = false
 
bool immunitiesTradingAllowed = false
 
int freeParkingSeed = 500
 
bool freeParkingPot = false
 
bool doubleSalaryOnGo = false
 
bool allowPlayersToTakeOverAIs = true
 
int dealNPropertiesAtStartup = 0
 
bool dealFreePropertiesAtStartup = false
 
int stopAtNthBankruptcy = 0
 
VoiceChatOptions voiceChat
 

Detailed Description

Definition at line 137 of file RuleTypes.hpp.

Member Function Documentation

◆ operator==()

bool monopoly::rules::GameOptions::operator== ( const GameOptions &  ) const
default

Member Data Documentation

◆ aiTakesTimeToThink

bool monopoly::rules::GameOptions::aiTakesTimeToThink = true

Definition at line 156 of file RuleTypes.hpp.

◆ allowPlayersToTakeOverAIs

bool monopoly::rules::GameOptions::allowPlayersToTakeOverAIs = true

Definition at line 177 of file RuleTypes.hpp.

◆ auctionGoingTimeDelay

int monopoly::rules::GameOptions::auctionGoingTimeDelay = 5

Definition at line 166 of file RuleTypes.hpp.

◆ cheatingAllowed

bool monopoly::rules::GameOptions::cheatingAllowed = false

Definition at line 155 of file RuleTypes.hpp.

◆ dealFreePropertiesAtStartup

bool monopoly::rules::GameOptions::dealFreePropertiesAtStartup = false

Definition at line 180 of file RuleTypes.hpp.

◆ dealNPropertiesAtStartup

int monopoly::rules::GameOptions::dealNPropertiesAtStartup = 0

Definition at line 179 of file RuleTypes.hpp.

◆ doubleSalaryOnGo

bool monopoly::rules::GameOptions::doubleSalaryOnGo = false

Definition at line 176 of file RuleTypes.hpp.

◆ evenBuildRule

bool monopoly::rules::GameOptions::evenBuildRule = true

Definition at line 152 of file RuleTypes.hpp.

◆ flatTaxFee

int monopoly::rules::GameOptions::flatTaxFee = 200

Definition at line 149 of file RuleTypes.hpp.

◆ freeParkingPot

bool monopoly::rules::GameOptions::freeParkingPot = false

Definition at line 174 of file RuleTypes.hpp.

◆ freeParkingSeed

int monopoly::rules::GameOptions::freeParkingSeed = 500

Definition at line 173 of file RuleTypes.hpp.

◆ futureRentTradingAllowed

bool monopoly::rules::GameOptions::futureRentTradingAllowed = false

Definition at line 170 of file RuleTypes.hpp.

◆ gameOverTimeLimit

int monopoly::rules::GameOptions::gameOverTimeLimit = 0

Definition at line 168 of file RuleTypes.hpp.

◆ getOutOfJailFee

int monopoly::rules::GameOptions::getOutOfJailFee = 50

Definition at line 159 of file RuleTypes.hpp.

◆ hideCash

bool monopoly::rules::GameOptions::hideCash = false

Definition at line 151 of file RuleTypes.hpp.

◆ hotelShortageLevel

int monopoly::rules::GameOptions::hotelShortageLevel = 3

Definition at line 164 of file RuleTypes.hpp.

◆ houseShortageLevel

int monopoly::rules::GameOptions::houseShortageLevel = 5

Definition at line 163 of file RuleTypes.hpp.

◆ housesPerHotel

int monopoly::rules::GameOptions::housesPerHotel = 5

Definition at line 139 of file RuleTypes.hpp.

◆ immunitiesTradingAllowed

bool monopoly::rules::GameOptions::immunitiesTradingAllowed = false

Definition at line 171 of file RuleTypes.hpp.

◆ inactivityWarningTime

int monopoly::rules::GameOptions::inactivityWarningTime = 0

Definition at line 167 of file RuleTypes.hpp.

◆ initialCash

int monopoly::rules::GameOptions::initialCash = 1500

Definition at line 144 of file RuleTypes.hpp.

◆ interestRate

int monopoly::rules::GameOptions::interestRate = 10

Definition at line 143 of file RuleTypes.hpp.

◆ luxuryTaxAmount

int monopoly::rules::GameOptions::luxuryTaxAmount = 75

Definition at line 147 of file RuleTypes.hpp.

◆ maximumHotels

int monopoly::rules::GameOptions::maximumHotels = 12

Definition at line 141 of file RuleTypes.hpp.

◆ maximumHouses

int monopoly::rules::GameOptions::maximumHouses = 32

Definition at line 140 of file RuleTypes.hpp.

◆ maximumTurnsInJail

int monopoly::rules::GameOptions::maximumTurnsInJail = 3

Definition at line 158 of file RuleTypes.hpp.

◆ mortgagedCountsInGroupRent

bool monopoly::rules::GameOptions::mortgagedCountsInGroupRent = true

Definition at line 161 of file RuleTypes.hpp.

◆ passingGoAmount

int monopoly::rules::GameOptions::passingGoAmount = 200

Definition at line 145 of file RuleTypes.hpp.

◆ rollDiceToDecideStartingOrder

bool monopoly::rules::GameOptions::rollDiceToDecideStartingOrder = false

Definition at line 153 of file RuleTypes.hpp.

◆ stopAtNthBankruptcy

int monopoly::rules::GameOptions::stopAtNthBankruptcy = 0

Definition at line 182 of file RuleTypes.hpp.

◆ taxRate

int monopoly::rules::GameOptions::taxRate = 10

Definition at line 148 of file RuleTypes.hpp.

◆ voiceChat

VoiceChatOptions monopoly::rules::GameOptions::voiceChat

Definition at line 184 of file RuleTypes.hpp.


The documentation for this struct was generated from the following file: