< Dice‎ | MacroRegistry
Revision as of 21:53, 15 September 2017 by Skizzerz (talk | contribs) (Created page with "{{APIdoc|MacroRegistry.GlobalCallbacks Field}} Callbacks which should be executed on every macro run. {{ns}} == Syntax == <syntaxhighlight lang="C#"> internal MacroCallback...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

MacroRegistry.GlobalCallbacks Field

From DiceRoller Documentation

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.