C# Class GameFramework.ServerStorySystem

Exibir arquivo 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
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
PreloadStory ( string file ) : 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
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
Init ( Scene scene ) : void
Init ( UserThread userThread ) : void
LoadCustomCommandsAndValues ( ) : void
NewAiStoryInstance ( string storyId, string _namespace, bool logIfNotFound ) : AiStoryInstanceInfo
NewStoryInstance ( string storyId, string _namespace, bool logIfNotFound ) : StoryInstance
ServerStorySystem ( ) : System
StaticInit ( ) : void
ThreadInitMask ( ) : void

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

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 AiStoryInstanceInfo

NewAiStoryInstance() public method

public NewAiStoryInstance ( string storyId, string _namespace ) : AiStoryInstanceInfo
storyId string
_namespace string
return 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

PreloadStory() public method

public PreloadStory ( string file ) : void
file string
return void

RecycleAiStoryInstance() public method

public RecycleAiStoryInstance ( AiStoryInstanceInfo info ) : void
info 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

Tick() public method

public Tick ( ) : void
return void