C# Class StorySystem.StoryConfigManager

Datei anzeigen Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
Clear ( ) : void
ExistStory ( string storyId, int sceneId ) : bool
GetStories ( int sceneId ) : StoryInstance>.Dictionary
GetStories ( string file ) : StoryInstance>.Dictionary
LoadStories ( int sceneId, string _namespace ) : void
LoadStory ( string file, int sceneId, string _namespace ) : void
LoadStoryCode ( string code, int sceneId, string _namespace ) : void
LoadStoryText ( string text, int sceneId, string _namespace ) : void
NewInstance ( ) : StoryConfigManager
NewStoryInstance ( string storyId, int sceneId ) : StoryInstance

Private Methods

Method Description
GetStoryInstanceResource ( string storyId, int sceneId ) : StoryInstance
Load ( Dsl dataFile, int sceneId, string _namespace, string resourceName ) : void
StoryConfigManager ( ) : System

Method Details

Clear() public method

public Clear ( ) : void
return void

ExistStory() public method

public ExistStory ( string storyId, int sceneId ) : bool
storyId string
sceneId int
return bool

GetStories() public method

public GetStories ( int sceneId ) : StoryInstance>.Dictionary
sceneId int
return StoryInstance>.Dictionary

GetStories() public method

public GetStories ( string file ) : StoryInstance>.Dictionary
file string
return StoryInstance>.Dictionary

LoadStories() public method

public LoadStories ( int sceneId, string _namespace ) : void
sceneId int
_namespace string
return void

LoadStory() public method

public LoadStory ( string file, int sceneId, string _namespace ) : void
file string
sceneId int
_namespace string
return void

LoadStoryCode() public method

public LoadStoryCode ( string code, int sceneId, string _namespace ) : void
code string
sceneId int
_namespace string
return void

LoadStoryText() public method

public LoadStoryText ( string text, int sceneId, string _namespace ) : void
text string
sceneId int
_namespace string
return void

NewInstance() public static method

public static NewInstance ( ) : StoryConfigManager
return StoryConfigManager

NewStoryInstance() public method

public NewStoryInstance ( string storyId, int sceneId ) : StoryInstance
storyId string
sceneId int
return StoryInstance