< Dice | RollerConfig
Difference between revisions of "Dice/RollerConfig/MaxSides"
From DiceRoller Documentation
(Created page with "{{APIdoc|RollerConfig.MaxSides Property}} Gets or sets the maximum number of sides a single die may have. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public uint MaxSide...") |
(No difference)
|
Revision as of 18:59, 10 April 2017
Gets or sets the maximum number of sides a single die may have.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public uint MaxSides { get; set; }
Property Value
Type: System.UInt32
The maximum number of sides that any individual die can have. Exceeding this limit will result in a DiceException being thrown with DiceErrorCode.BadSides.
Remarks
The default value for MaxSides is 10,000. This limit is purely arbitrary, and nothing is impacted by changing it.