Difference between revisions of "Dice/MacroRegistry/GlobalCallbacks"

From DiceRoller Documentation
(Created page with "{{APIdoc|MacroRegistry.GlobalCallbacks Field}} Callbacks which should be executed on every macro run. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal MacroCallback...")
 
(No difference)

Latest revision as of 21:53, 15 September 2017

Callbacks which should be executed on every macro run.

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

Syntax

internal MacroCallback GlobalCallbacks

Field Value

Type: Dice.MacroCallback

The callbacks to execute on every macro run.

Remarks

As MacroCallback is a delegate type, it can have multiple callbacks attached to it (via the {{{1}}} operator). Every callback is executed whenever the delegate is invoked.