v3.6.1 Documentation
Fungus.FlowchartData Class Reference

Serializable container for encoding the state of a Flowchart's variables. More...

Static Public Member Functions

static FlowchartData Encode (Flowchart flowchart)
 Encodes the data in a Flowchart into a structure that can be stored by the save system. More...
 
static void Decode (FlowchartData flowchartData)
 Decodes a FlowchartData object and uses it to restore the state of a Flowchart in the scene. More...
 

Protected Attributes

string flowchartName
 
List< StringVarstringVars = new List<StringVar>()
 
List< IntVarintVars = new List<IntVar>()
 
List< FloatVarfloatVars = new List<FloatVar>()
 
List< BoolVarboolVars = new List<BoolVar>()
 

Properties

string FlowchartName [get, set]
 Gets or sets the name of the encoded Flowchart. More...
 
List< StringVarStringVars [get, set]
 Gets or sets the list of encoded string variables. More...
 
List< IntVarIntVars [get, set]
 Gets or sets the list of encoded integer variables. More...
 
List< FloatVarFloatVars [get, set]
 Gets or sets the list of encoded float variables. More...
 
List< BoolVarBoolVars [get, set]
 Gets or sets the list of encoded boolean variables. More...
 

Detailed Description

Serializable container for encoding the state of a Flowchart's variables.

Definition at line 81 of file FlowchartData.cs.

Member Function Documentation

◆ Decode()

static void Fungus.FlowchartData.Decode ( FlowchartData  flowchartData)
static

Decodes a FlowchartData object and uses it to restore the state of a Flowchart in the scene.

Definition at line 176 of file FlowchartData.cs.

◆ Encode()

static FlowchartData Fungus.FlowchartData.Encode ( Flowchart  flowchart)
static

Encodes the data in a Flowchart into a structure that can be stored by the save system.

Definition at line 119 of file FlowchartData.cs.

Member Data Documentation

◆ boolVars

List<BoolVar> Fungus.FlowchartData.boolVars = new List<BoolVar>()
protected

Definition at line 87 of file FlowchartData.cs.

◆ floatVars

List<FloatVar> Fungus.FlowchartData.floatVars = new List<FloatVar>()
protected

Definition at line 86 of file FlowchartData.cs.

◆ flowchartName

string Fungus.FlowchartData.flowchartName
protected

Definition at line 83 of file FlowchartData.cs.

◆ intVars

List<IntVar> Fungus.FlowchartData.intVars = new List<IntVar>()
protected

Definition at line 85 of file FlowchartData.cs.

◆ stringVars

List<StringVar> Fungus.FlowchartData.stringVars = new List<StringVar>()
protected

Definition at line 84 of file FlowchartData.cs.

Property Documentation

◆ BoolVars

List<BoolVar> Fungus.FlowchartData.BoolVars
getset

Gets or sets the list of encoded boolean variables.

Definition at line 114 of file FlowchartData.cs.

◆ FloatVars

List<FloatVar> Fungus.FlowchartData.FloatVars
getset

Gets or sets the list of encoded float variables.

Definition at line 109 of file FlowchartData.cs.

◆ FlowchartName

string Fungus.FlowchartData.FlowchartName
getset

Gets or sets the name of the encoded Flowchart.

Definition at line 94 of file FlowchartData.cs.

◆ IntVars

List<IntVar> Fungus.FlowchartData.IntVars
getset

Gets or sets the list of encoded integer variables.

Definition at line 104 of file FlowchartData.cs.

◆ StringVars

List<StringVar> Fungus.FlowchartData.StringVars
getset

Gets or sets the list of encoded string variables.

Definition at line 99 of file FlowchartData.cs.


The documentation for this class was generated from the following file: