< Dice | FunctionRegistry
FunctionRegistry.RegisterFunction Method Overloads
From DiceRoller Documentation
Registers a new callback to the specified name.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Overloads
Name | Description | |
---|---|---|
RegisterFunction(String, FunctionCallback) | Registers the specified global callback to the given name. | |
RegisterFunction(String, FunctionCallback, FunctionScope) | Registers the specified callback to the given name and scope. | |
RegisterFunction(String, FunctionCallback, FunctionScope, FunctionTiming) | Registers the specified callback to the given name, scope, and timing. |
Remarks
The first overload is equivalent to calling RegisterFunction(name, callback, FunctionScope.Global, FunctionTiming.Last)
and the second overload is equivalent to calling RegisterFunction(name, callback, scope, FunctionTiming.Last)
.