< Dice‎ | RollerConfig
Revision as of 18:57, 13 April 2017 by Skizzerz (talk | contribs)
(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 int MaxSides { get; set; }

Property Value

Type: System.Int32

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.