C# Class KolonyTools.KolonizationPersistance

Inheritance: UnityEngine.MonoBehaviour
Afficher le fichier Open project: BobPalmer/MKS Class Usage Examples

Méthodes publiques

Méthode Description
AddStatusNode ( KolonizationEntry logEntry ) : void
DeleteStatusNode ( KolonizationEntry logEntry ) : void
GetStatusInfo ( ) : List
GetValue ( ConfigNode config, string name, bool currentValue ) : bool
GetValue ( ConfigNode config, string name, float currentValue ) : float
GetValue ( ConfigNode config, string name, int currentValue ) : int
ImportStatusNodeList ( ConfigNode nodes ) : List
Load ( ConfigNode node ) : void
Save ( ConfigNode node ) : void
SaveLogEntryNode ( KolonizationEntry logEntry ) : void

Private Methods

Méthode Description
SetupLogInfo ( ) : List

Method Details

AddStatusNode() public méthode

public AddStatusNode ( KolonizationEntry logEntry ) : void
logEntry KolonizationEntry
Résultat void

DeleteStatusNode() public méthode

public DeleteStatusNode ( KolonizationEntry logEntry ) : void
logEntry KolonizationEntry
Résultat void

GetStatusInfo() public méthode

public GetStatusInfo ( ) : List
Résultat List

GetValue() public static méthode

public static GetValue ( ConfigNode config, string name, bool currentValue ) : bool
config ConfigNode
name string
currentValue bool
Résultat bool

GetValue() public static méthode

public static GetValue ( ConfigNode config, string name, float currentValue ) : float
config ConfigNode
name string
currentValue float
Résultat float

GetValue() public static méthode

public static GetValue ( ConfigNode config, string name, int currentValue ) : int
config ConfigNode
name string
currentValue int
Résultat int

ImportStatusNodeList() public static méthode

public static ImportStatusNodeList ( ConfigNode nodes ) : List
nodes ConfigNode
Résultat List

Load() public méthode

public Load ( ConfigNode node ) : void
node ConfigNode
Résultat void

Save() public méthode

public Save ( ConfigNode node ) : void
node ConfigNode
Résultat void

SaveLogEntryNode() public méthode

public SaveLogEntryNode ( KolonizationEntry logEntry ) : void
logEntry KolonizationEntry
Résultat void