< Dice | FunctionContext
Difference between revisions of "Dice/FunctionContext/ValueType"
From DiceRoller Documentation
(Created page with "{{APIdoc|FunctionContext.ValueType Property}} Gets or sets the type of value this function returns. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public ResultType ValueTy...") |
(No difference)
|
Latest revision as of 17:45, 27 April 2017
Gets or sets the type of value this function returns.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public ResultType ValueType { get; set; }
Property Value
Type: Dice.ResultType
The type of value this function returns.
Remarks
This field is initialized to ResultType.Total. The callback should change this if the function needs to sometimes return number of successes.