C# Class StorySystem.StoryInstance

Exibir arquivo Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
ClearMessage ( ) : void
Clone ( ) : StoryInstance
CountMessage ( string msgId ) : int
GetMessageTriggerTime ( string msgId ) : long
Init ( Dsl config ) : bool
PauseMessageHandler ( string msgId, bool pause ) : void
Reset ( ) : void
SendMessage ( string msgId ) : void
SetVariable ( string varName, object varValue ) : void
Start ( ) : void
Tick ( long curTime ) : void
TryGetVariable ( string varName, object &val ) : bool

Private Methods

Method Description
UpdateMessageTriggerTime ( string msgId, long time ) : void

Method Details

ClearMessage() public method

public ClearMessage ( ) : void
return void

Clone() public method

public Clone ( ) : StoryInstance
return StoryInstance

CountMessage() public method

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

GetMessageTriggerTime() public method

public GetMessageTriggerTime ( string msgId ) : long
msgId string
return long

Init() public method

public Init ( Dsl config ) : bool
config Dsl
return bool

PauseMessageHandler() public method

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

Reset() public method

public Reset ( ) : void
return void

SendMessage() public method

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

SetVariable() public method

public SetVariable ( string varName, object varValue ) : void
varName string
varValue object
return void

Start() public method

public Start ( ) : void
return void

Tick() public method

public Tick ( long curTime ) : void
curTime long
return void

TryGetVariable() public method

public TryGetVariable ( string varName, object &val ) : bool
varName string
val object
return bool