Difference between revisions of "Dice/RollResult/NumRolls"

From DiceRoller Documentation
(Created page with "{{APIdoc|RollResult.NumRolls Property}} The number of dice rolls that were needed to fully evaluate this expression. {{ns}} == Syntax == <syntaxhighlight lang="C#"> public l...")
 
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
 
== Syntax ==
 
== Syntax ==
 
<syntaxhighlight lang="C#">
 
<syntaxhighlight lang="C#">
public long NumRolls { get; private set; }
+
public int NumRolls { get; private set; }
 
</syntaxhighlight>
 
</syntaxhighlight>
  
 
=== Property Value ===
 
=== Property Value ===
Type: System.Int64
+
Type: System.Int32
  
 
The number of dice rolls that were needed to fully evaluate this expression.
 
The number of dice rolls that were needed to fully evaluate this expression.
 +
 +
== Remarks ==
 +
This will always be less than or equal to [[Dice/RollerConfig/MaxDice|RollerConfig.MaxDice]].

Latest revision as of 20:02, 13 April 2017

The number of dice rolls that were needed to fully evaluate this expression.

  • Namespace: Dice
  • Assembly: DiceRoller (in DiceRoller.dll)

Syntax

public int NumRolls { get; private set; }

Property Value

Type: System.Int32

The number of dice rolls that were needed to fully evaluate this expression.

Remarks

This will always be less than or equal to RollerConfig.MaxDice.