Difference between revisions of "Dice/Roller/Roll"
From DiceRoller Documentation
| Line 1: | Line 1: | ||
{{APIdoc|Roller.Roll Method Overloads}} | {{APIdoc|Roller.Roll Method Overloads}} | ||
| + | |||
| + | Rolls dice according to the string expression. | ||
| + | |||
| + | {{ns}} | ||
| + | |||
| + | == Overloads == | ||
{| class="wikitable" | {| class="wikitable" | ||
| Line 9: | Line 15: | ||
| {{public}} {{static}} {{method}} || [[Dice/Roller/Roll (String, RollerConfig)|Roll(String, RollerConfig)]] || Rolls dice according to the string expression and configuration. | | {{public}} {{static}} {{method}} || [[Dice/Roller/Roll (String, RollerConfig)|Roll(String, RollerConfig)]] || Rolls dice according to the string expression and configuration. | ||
|} | |} | ||
| + | |||
| + | == Remarks == | ||
| + | {{cs|null}} can be passed as RollerConfig for the second overload. This is equivalent to calling the first overload instead. | ||
Revision as of 19:29, 13 April 2017
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. |
Remarks
null can be passed as RollerConfig for the second overload. This is equivalent to calling the first overload instead.