< Dice‎ | PbP‎ | RollPost

Difference between revisions of "Dice/PbP/RollPost/ diverged"

From DiceRoller Documentation
 
Line 9: Line 9:
 
</syntaxhighlight>
 
</syntaxhighlight>
  
=== Field Value ==
+
=== Field Value ===
 
Type: System.Int32
 
Type: System.Int32
  

Latest revision as of 18:36, 1 May 2017

How many levels has Current diverged from Pristine at the moment.

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

Syntax

private int _diverged;

Field Value

Type: System.Int32

A counter from 0-2 indicating how different Current is from Pristine.

Remarks

This field stores the current state as mentioned in AddRoll(String, RollerConfig). A value of 0 indicates the pristine state, 1 indicates stored state, and 2 indicates divergent state. For more details, see the AddRoll documentation.