Proposal: Add 'allowBid' and 'defaultBid' attributes to '<player>' node
-
Proposal
Add optional attributes to
<player>
node:- allowBid | boolean | default =
true
- defaultBid | number | default =
0
For backward compatibility the existing bid
<property>
would continue to work and could be used if a min and max bid were needed.Example, before:
<playerList> <player name="Americans"/> </playerList> <propertyList> <property name="Americans bid" value="30" editable="true"> <number min="0" max="1000"/> </property> </propertyList>
Example, after:
The above before example would be equivalent to:
<playerList> <player name="Americans"/> </playerList>
With default attribute values specified explicitly:
<playerList> <player name="Americans" allowBid="true" defaultBid="0"/> </playerList>
If wanting to disable bid:
<playerList> <player name="Americans" allowBid="false"/> </playerList>
If wanting to set a default bid:
<playerList> <player name="Americans" defaultBid="30"/> </playerList>
- allowBid | boolean | default =