C# Class GameFramework.Story.GfxStorySystem

Show file Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
ClearStoryInstancePool ( ) : void
CountMessage ( string msgId ) : int
CountStory ( string storyId ) : int
CountStory ( string storyId, string _namespace ) : int
GetStory ( string storyId ) : StoryInstance
GetStory ( string storyId, string _namespace ) : StoryInstance
Init ( ) : void
MarkStoryTerminated ( string storyId ) : void
MarkStoryTerminated ( string storyId, string _namespace ) : void
NewAiStoryInstance ( string storyId ) : AiStoryInstanceInfo
NewAiStoryInstance ( string storyId, string _namespace ) : AiStoryInstanceInfo
PauseMessageHandler ( string msgId, bool pause ) : void
PauseStory ( string storyId, bool pause ) : void
PauseStory ( string storyId, string _namespace, bool pause ) : void
PreloadAiStory ( string _namespace, string file ) : void
PreloadNamespacedStory ( string _namespace, string file ) : void
PreloadSceneStories ( ) : void
RecycleAiStoryInstance ( AiStoryInstanceInfo info ) : void
Reset ( ) : void
SendMessage ( string msgId ) : void
StartStory ( string storyId ) : void
StartStory ( string storyId, string _namespace ) : void
StopStory ( string storyId ) : void
StopStory ( string storyId, string _namespace ) : void
ThreadInitMask ( ) : void
Tick ( ) : void

Private Methods

Method Description
AddAiStoryInstanceInfoToPool ( string storyId, AiStoryInstanceInfo info ) : void
AddStoryInstance ( string storyId, StoryInstance info ) : void
GetStoryInstance ( string storyId ) : StoryInstance
GetUnusedAiStoryInstanceInfoFromPool ( string storyId ) : AiStoryInstanceInfo
GfxStorySystem ( ) : System
LoadCustomCommandsAndValues ( ) : void
NewAiStoryInstance ( string storyId, string _namespace, bool logIfNotFound ) : AiStoryInstanceInfo
NewStoryInstance ( string storyId, string _namespace, bool logIfNotFound ) : StoryInstance

Method Details

ClearStoryInstancePool() public method

public ClearStoryInstancePool ( ) : void
return void

CountMessage() public method

public CountMessage ( string msgId ) : int
msgId string
return int

CountStory() public method

public CountStory ( string storyId ) : int
storyId string
return int

CountStory() public method

public CountStory ( string storyId, string _namespace ) : int
storyId string
_namespace string
return int

GetStory() public method

public GetStory ( string storyId ) : StoryInstance
storyId string
return StorySystem.StoryInstance

GetStory() public method

public GetStory ( string storyId, string _namespace ) : StoryInstance
storyId string
_namespace string
return StorySystem.StoryInstance

Init() public method

public Init ( ) : void
return void

MarkStoryTerminated() public method

public MarkStoryTerminated ( string storyId ) : void
storyId string
return void

MarkStoryTerminated() public method

public MarkStoryTerminated ( string storyId, string _namespace ) : void
storyId string
_namespace string
return void

NewAiStoryInstance() public method

public NewAiStoryInstance ( string storyId ) : AiStoryInstanceInfo
storyId string
return GameFramework.AiStoryInstanceInfo

NewAiStoryInstance() public method

public NewAiStoryInstance ( string storyId, string _namespace ) : AiStoryInstanceInfo
storyId string
_namespace string
return GameFramework.AiStoryInstanceInfo

PauseMessageHandler() public method

public PauseMessageHandler ( string msgId, bool pause ) : void
msgId string
pause bool
return void

PauseStory() public method

public PauseStory ( string storyId, bool pause ) : void
storyId string
pause bool
return void

PauseStory() public method

public PauseStory ( string storyId, string _namespace, bool pause ) : void
storyId string
_namespace string
pause bool
return void

PreloadAiStory() public method

public PreloadAiStory ( string _namespace, string file ) : void
_namespace string
file string
return void

PreloadNamespacedStory() public method

public PreloadNamespacedStory ( string _namespace, string file ) : void
_namespace string
file string
return void

PreloadSceneStories() public method

public PreloadSceneStories ( ) : void
return void

RecycleAiStoryInstance() public method

public RecycleAiStoryInstance ( AiStoryInstanceInfo info ) : void
info GameFramework.AiStoryInstanceInfo
return void

Reset() public method

public Reset ( ) : void
return void

SendMessage() public method

public SendMessage ( string msgId ) : void
msgId string
return void

StartStory() public method

public StartStory ( string storyId ) : void
storyId string
return void

StartStory() public method

public StartStory ( string storyId, string _namespace ) : void
storyId string
_namespace string
return void

StopStory() public method

public StopStory ( string storyId ) : void
storyId string
return void

StopStory() public method

public StopStory ( string storyId, string _namespace ) : void
storyId string
_namespace string
return void

ThreadInitMask() public static method

public static ThreadInitMask ( ) : void
return void

Tick() public method

public Tick ( ) : void
return void