< Dice | MacroContext
MacroContext.Data Property
From DiceRoller Documentation
Gets the RollData attached to this macro execution.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public RollData Data { get; private set; }
Property Value
Type: Dice.RollData
The RollData containing information about this macro execution. It is never null
.
Remarks
This exposes the metadata object passed into Roller.Roll, allowing you to use that metadata to modify how the macro executes if desired. The per-roll FunctionRegistry and MacroRegistry can be manipulated as well in the event you wish to add or remove macros or functions on the fly.