RollPost.AddRoll Method (String)
From DiceRoller Documentation
Adds a new roll to the post using the DefaultConfig if the roll needs to be evaluated.
- Namespace: Dice.PbP
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public void AddRoll(
string diceExpr
)
Parameters
- diceExpr
- Type: System.String
- The dice expression to add, will be evaluated then added to the end of Current.
Remarks
This will first attempt to use a previously evaluated version of this roll, if possible. If the roll does not matched the current position of Pristine or Stored, it will be evaluated anew via Roller.Roll using Roller.DefaultConfig.
See AddRoll(String, RollerConfig) for more details on how the previous value matching is performed.