< Dice‎ | Roller
Revision as of 20:13, 23 December 2018 by Skizzerz (talk | contribs)

Roller.Roll Method Overloads

From DiceRoller Documentation


Rolls dice according to the string expression.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Overloads

Name Description
S Roll(String) Rolls dice according to the string expression, using the default configuration.
S Roll(String, RollerConfig) Rolls dice according to the string expression and configuration.
S Roll(String, RollerConfig, RollData) Rolls dice according to the string expression and configuration and with the given RollData.
S Roll(DiceAST, RollerConfig) Evaluates the root of the tree, returning the RollResult.

Remarks

null can be passed as RollerConfig for the second overload. This is equivalent to calling the first overload instead.