DieResult Structure
From DiceRoller Documentation
Contains the result of an individual die roll.
- Namespace: Dice
- Assembly: DiceRoller (in DiceRoller.dll)
Syntax
public struct DieResult
Fields
Name | Description | |
---|---|---|
DieType | What type of die was rolled. | |
Flags | Any special flags giving more information about the roll. | |
NumSides | How many sides the die had. | |
Value | What the result of the roll was. |
Remarks
The NumSides field is only non-zero if DieType is DieType.Normal
or DieType.Fudge
. If DieType is DieType.Special
, then Value can be cast into a SpecialDie enum value.