Search Results for

    Show / Hide Table of Contents

    Class DialogueParser

    The main entry point for parsing Ibralogue dialogue files.

    Inheritance
    object
    DialogueParser
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Ibralogue.Parser
    Assembly: .dll
    Syntax
    public static class DialogueParser

    Methods

    | Edit this page View Source

    ClearCache()

    Clears the entire parse cache.

    Declaration
    public static void ClearCache()
    | Edit this page View Source

    InvalidateCache(DialogueAsset)

    Removes a specific asset from the parse cache, forcing a re-parse on the next call to ParseDialogue(DialogueAsset).

    Declaration
    public static void InvalidateCache(DialogueAsset dialogueAsset)
    Parameters
    Type Name Description
    DialogueAsset dialogueAsset
    | Edit this page View Source

    ParseDialogue(DialogueAsset)

    Parses a dialogue asset into a list of conversations. Results are cached so that repeated calls with the same asset skip the parsing pipeline.

    Declaration
    public static List<Conversation> ParseDialogue(DialogueAsset dialogueAsset)
    Parameters
    Type Name Description
    DialogueAsset dialogueAsset
    Returns
    Type Description
    List<Conversation>

    A list of Conversation objects representing all conversations in the dialogue file.

    Exceptions
    Type Condition
    ArgumentException

    Thrown when the dialogue has no conversations.

    • Edit this page
    • View Source
    In this article
    Back to top Ibralogue Docs