C# 클래스 StonehearthEditor.GameMasterDataManager

파일 보기 프로젝트 열기: stonehearth/stonehearth-editor 1 사용 예제들

공개 메소드들

메소드 설명
AddNewGenericScriptNode ( IGraphOwner owner, string scriptNodeName, string filePath ) : bool
ClearModifiedFlags ( ) : void
CloneNode ( IGraphOwner graphOwner, GameMasterNode original, string cloneName ) : bool
DeleteNode ( string nodePath ) : bool
FillEncounterNodeTree ( TreeView treeView ) : void
GameMasterDataManager ( ) : System.Collections.Generic
GetGameMasterNode ( string nodeId ) : GameMasterNode
GetGenericScriptNodes ( ) : ICollection
GetInstance ( ) : GameMasterDataManager
Load ( ) : void
OnCampaignSelected ( IGraphOwner graphOwner, TreeNode selectedNode ) : void
RefreshGraph ( IGraphOwner graphOwner ) : void
SaveModifiedFiles ( ) : void
SelectCampaign ( IGraphOwner graphOwner, string module, string name ) : void
TryAddEdge ( string sourceId, string destinationId ) : bool
TryModifyJson ( IGraphOwner graphOwner, GameMasterNode node, string newJsonString ) : void

비공개 메소드들

메소드 설명
ParseEncounterScripts ( string moduleName, string folderPath ) : void
ParseGenericEncounterScripts ( string folderPath ) : void
ParseNodeGraph ( string moduleName, string folderPath ) : void
SearchForFileType ( string directory, string fileType, List luaFilesFound ) : void

메소드 상세

AddNewGenericScriptNode() 공개 메소드

public AddNewGenericScriptNode ( IGraphOwner owner, string scriptNodeName, string filePath ) : bool
owner IGraphOwner
scriptNodeName string
filePath string
리턴 bool

ClearModifiedFlags() 공개 메소드

public ClearModifiedFlags ( ) : void
리턴 void

CloneNode() 공개 메소드

public CloneNode ( IGraphOwner graphOwner, GameMasterNode original, string cloneName ) : bool
graphOwner IGraphOwner
original GameMasterNode
cloneName string
리턴 bool

DeleteNode() 공개 메소드

public DeleteNode ( string nodePath ) : bool
nodePath string
리턴 bool

FillEncounterNodeTree() 공개 메소드

public FillEncounterNodeTree ( TreeView treeView ) : void
treeView System.Windows.Forms.TreeView
리턴 void

GameMasterDataManager() 공개 메소드

public GameMasterDataManager ( ) : System.Collections.Generic
리턴 System.Collections.Generic

GetGameMasterNode() 공개 메소드

public GetGameMasterNode ( string nodeId ) : GameMasterNode
nodeId string
리턴 GameMasterNode

GetGenericScriptNodes() 공개 메소드

public GetGenericScriptNodes ( ) : ICollection
리턴 ICollection

GetInstance() 공개 정적인 메소드

public static GetInstance ( ) : GameMasterDataManager
리턴 GameMasterDataManager

Load() 공개 메소드

public Load ( ) : void
리턴 void

OnCampaignSelected() 공개 메소드

public OnCampaignSelected ( IGraphOwner graphOwner, TreeNode selectedNode ) : void
graphOwner IGraphOwner
selectedNode System.Windows.Forms.TreeNode
리턴 void

RefreshGraph() 공개 메소드

public RefreshGraph ( IGraphOwner graphOwner ) : void
graphOwner IGraphOwner
리턴 void

SaveModifiedFiles() 공개 메소드

public SaveModifiedFiles ( ) : void
리턴 void

SelectCampaign() 공개 메소드

public SelectCampaign ( IGraphOwner graphOwner, string module, string name ) : void
graphOwner IGraphOwner
module string
name string
리턴 void

TryAddEdge() 공개 메소드

public TryAddEdge ( string sourceId, string destinationId ) : bool
sourceId string
destinationId string
리턴 bool

TryModifyJson() 공개 메소드

public TryModifyJson ( IGraphOwner graphOwner, GameMasterNode node, string newJsonString ) : void
graphOwner IGraphOwner
node GameMasterNode
newJsonString string
리턴 void