C# Класс GrimmLib.DialogueScriptLoader

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CreateDialogueNodesFromString ( string pString, string pConversation ) : void
DialogueScriptLoader ( DialogueRunner pDialogueRunner ) : System
GetConversationNameFromFilepath ( string pFilepath ) : string
LoadDialogueNodesFromFile ( string pFilepath ) : void

Приватные методы

Метод Описание
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

Описание методов

CreateDialogueNodesFromString() публичный Метод

public CreateDialogueNodesFromString ( string pString, string pConversation ) : void
pString string
pConversation string
Результат void

DialogueScriptLoader() публичный Метод

public DialogueScriptLoader ( DialogueRunner pDialogueRunner ) : System
pDialogueRunner DialogueRunner
Результат System

GetConversationNameFromFilepath() публичный статический Метод

public static GetConversationNameFromFilepath ( string pFilepath ) : string
pFilepath string
Результат string

LoadDialogueNodesFromFile() публичный Метод

public LoadDialogueNodesFromFile ( string pFilepath ) : void
pFilepath string
Результат void