C# Class GameFramework.ServerStorySystem

Afficher le fichier Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Méthodes publiques

Méthode 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

Méthode 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 méthode

public ClearStoryInstancePool ( ) : void
Résultat void

CountMessage() public méthode

public CountMessage ( string msgId ) : int
msgId string
Résultat int

CountStory() public méthode

public CountStory ( string storyId ) : int
storyId string
Résultat int

CountStory() public méthode

public CountStory ( string storyId, string _namespace ) : int
storyId string
_namespace string
Résultat int

GetStory() public méthode

public GetStory ( string storyId ) : StoryInstance
storyId string
Résultat StorySystem.StoryInstance

GetStory() public méthode

public GetStory ( string storyId, string _namespace ) : StoryInstance
storyId string
_namespace string
Résultat StorySystem.StoryInstance

MarkStoryTerminated() public méthode

public MarkStoryTerminated ( string storyId ) : void
storyId string
Résultat void

MarkStoryTerminated() public méthode

public MarkStoryTerminated ( string storyId, string _namespace ) : void
storyId string
_namespace string
Résultat void

NewAiStoryInstance() public méthode

public NewAiStoryInstance ( string storyId ) : AiStoryInstanceInfo
storyId string
Résultat AiStoryInstanceInfo

NewAiStoryInstance() public méthode

public NewAiStoryInstance ( string storyId, string _namespace ) : AiStoryInstanceInfo
storyId string
_namespace string
Résultat AiStoryInstanceInfo

PauseMessageHandler() public méthode

public PauseMessageHandler ( string msgId, bool pause ) : void
msgId string
pause bool
Résultat void

PauseStory() public méthode

public PauseStory ( string storyId, bool pause ) : void
storyId string
pause bool
Résultat void

PauseStory() public méthode

public PauseStory ( string storyId, string _namespace, bool pause ) : void
storyId string
_namespace string
pause bool
Résultat void

PreloadAiStory() public méthode

public PreloadAiStory ( string _namespace, string file ) : void
_namespace string
file string
Résultat void

PreloadNamespacedStory() public méthode

public PreloadNamespacedStory ( string _namespace, string file ) : void
_namespace string
file string
Résultat void

PreloadSceneStories() public méthode

public PreloadSceneStories ( ) : void
Résultat void

PreloadStory() public méthode

public PreloadStory ( string file ) : void
file string
Résultat void

RecycleAiStoryInstance() public méthode

public RecycleAiStoryInstance ( AiStoryInstanceInfo info ) : void
info AiStoryInstanceInfo
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SendMessage() public méthode

public SendMessage ( string msgId ) : void
msgId string
Résultat void

StartStory() public méthode

public StartStory ( string storyId ) : void
storyId string
Résultat void

StartStory() public méthode

public StartStory ( string storyId, string _namespace ) : void
storyId string
_namespace string
Résultat void

StopStory() public méthode

public StopStory ( string storyId ) : void
storyId string
Résultat void

StopStory() public méthode

public StopStory ( string storyId, string _namespace ) : void
storyId string
_namespace string
Résultat void

Tick() public méthode

public Tick ( ) : void
Résultat void