C# Class GrimmLib.DialogueScriptLoader

Afficher le fichier Open project: eriksvedang/Grimm Class Usage Examples

Méthodes publiques

Méthode Description
CreateDialogueNodesFromString ( string pString, string pConversation ) : void
DialogueScriptLoader ( DialogueRunner pDialogueRunner ) : System
GetConversationNameFromFilepath ( string pFilepath ) : string
LoadDialogueNodesFromFile ( string pFilepath ) : void

Private Methods

Méthode Description
AddLinkFromPreviousNode ( DialogueNode pPreviousNode, DialogueNode pNewNode ) : void
AllowLineBreak ( ) : void
CalculateTimeout ( string pLine ) : int
ConsumeCurrentToken ( ) : void
CreateDialogueNodes ( TextReader pTextReader, string pConversation ) : void
CreateTreeOfDialogueNodes ( ) : void
FigureOutOptionStatement ( DialogueNode pScopeEndNode ) : DialogueNode
GetAStringFromNextToken ( bool pQuotedStringsAreOK, bool pNumbersAreOK ) : string
Languages ( ) : void
Nodes ( DialogueNode pPrevious, DialogueNode pScopeEndNode ) : void
SkipStuffUntilNextLine ( ) : void
Statement ( DialogueNode pPrevious ) : DialogueNode
VisitAssertDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitBranchingDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitBreakDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitBroadcastDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitCancelDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitDefocusDialogueNode ( DialogueNode pPrevious ) : DefocusDialogueNode
VisitEmptyNodeWithName ( DialogueNode pPreviousNode ) : DialogueNode
VisitFocusDialogueNode ( DialogueNode pPrevious ) : FocusDialogueNode
VisitFunctionCall ( string &pFunctionName ) : string[]
VisitFunctionDialogueNode ( DialogueNode pPrevious ) : CallFunctionDialogueNode
VisitGotoDialogueNode ( DialogueNode pPrevious ) : GotoDialogueNode
VisitIfDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitInterruptDialogueNode ( DialogueNode pPrevious ) : InterruptDialogueNode
VisitListeningDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitLoopDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitOption ( DialogueNode pScopeEndNode ) : DialogueNode
VisitStartCommandoDialogueNode ( DialogueNode pPrevious ) : StartCommandoDialogueNode
VisitStopDialogueNode ( DialogueNode pPrevious ) : DialogueNode
VisitTimedDialogueNode ( DialogueNode pPrevious ) : TimedDialogueNode
VisitTimedWaitDialogueNode ( DialogueNode pPrevious ) : TimedWaitDialogueNode
VisitWaitDialogueNode ( DialogueNode pPrevious ) : WaitDialogueNode
lookAhead ( int i ) : Token
lookAheadType ( int i ) : Token.TokenType
match ( Token expectedTokenType ) : Token

Method Details

CreateDialogueNodesFromString() public méthode

public CreateDialogueNodesFromString ( string pString, string pConversation ) : void
pString string
pConversation string
Résultat void

DialogueScriptLoader() public méthode

public DialogueScriptLoader ( DialogueRunner pDialogueRunner ) : System
pDialogueRunner DialogueRunner
Résultat System

GetConversationNameFromFilepath() public static méthode

public static GetConversationNameFromFilepath ( string pFilepath ) : string
pFilepath string
Résultat string

LoadDialogueNodesFromFile() public méthode

public LoadDialogueNodesFromFile ( string pFilepath ) : void
pFilepath string
Résultat void