< Dice‎ | RollerConfig
Revision as of 18:59, 10 April 2017 by Skizzerz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

RollerConfig.MaxSides Property

From DiceRoller Documentation

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.