Wiki

Clone wiki

RogueSharp / RogueSharp.DiceNotation / DiceResult / README

DiceResult Class

The DiceResult class represents the result of rolling a DiceExpression

Inheritance Hierarchy

SystemObject
RogueSharp.DiceNotationDiceResult

Namespace: RogueSharp.DiceNotation
Assembly:

Syntax

publicclassDiceResult

The DiceResult type exposes the following members.

Constructors

Name Description
DiceResult Construct a new DiceResult from the specified values

Properties

Name Description
RandomUsed The random number generator used to get this result
Results A Collection of TermResults that represents one result for each DiceTerm in the DiceExpression
Value The total result of the the roll

Methods

Name Description
Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
GetType Gets the Type of the current instance. (Inherited from Object.)
MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
ToString Returns a string that represents the current object. (Inherited from Object.)

See Also

Reference

RogueSharp.DiceNotation Namespace

[6]: 2014-2016 Faron Bracy

Updated