C# Class StonehearthEditor.GameMasterNode

Datei anzeigen Open project: stonehearth/stonehearth-editor Class Usage Examples

Public Properties

Property Type Description
kGreen Color
kPurple Color

Public Methods

Method Description
Clone ( string newFileName ) : GameMasterNode
GameMasterNode ( string module, string filePath ) : System
GetJsonFileString ( ) : string
Load ( GameMasterNode>.Dictionary allNodes ) : void
OnFileChanged ( GameMasterNode>.Dictionary allNodes ) : void
SaveIfNecessary ( ) : void
TryModifyJson ( string newJsonString ) : bool

Method Details

Clone() public method

public Clone ( string newFileName ) : GameMasterNode
newFileName string
return GameMasterNode

GameMasterNode() public method

public GameMasterNode ( string module, string filePath ) : System
module string
filePath string
return System

GetJsonFileString() public method

public GetJsonFileString ( ) : string
return string

Load() public method

public Load ( GameMasterNode>.Dictionary allNodes ) : void
allNodes GameMasterNode>.Dictionary
return void

OnFileChanged() public method

public OnFileChanged ( GameMasterNode>.Dictionary allNodes ) : void
allNodes GameMasterNode>.Dictionary
return void

SaveIfNecessary() public method

public SaveIfNecessary ( ) : void
return void

TryModifyJson() public method

public TryModifyJson ( string newJsonString ) : bool
newJsonString string
return bool

Property Details

kGreen public_oe static_oe property

public static Color kGreen
return Color

kPurple public_oe static_oe property

public static Color kPurple
return Color