< Dice‎ | PbP‎ | RollPost

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

From DiceRoller Documentation
(Created page with "{{APIdoc|RollPost._diverged Field}} How many levels has Current diverged from Pristine at the moment. {{ns}} == Syntax == <syntaxhighlight lang="C#"> private int _diverged;...")
 
Line 15: Line 15:
  
 
== Remarks ==
 
== Remarks ==
This field stores the current state as mentioned in [[../AddRoll (String, RollerConfig|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.
+
This field stores the current state as mentioned in [[../AddRoll (String, RollerConfig)|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.

Revision as of 18:35, 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.