Pardon our dust! Docs for Yarn Spinner for Unity 3.2 and Yarn Spinner for Godot C# are on docs.yarnspinner.dev (the old docs site). Docs for Yarn Spinner for Unity 3.3 (pre-release, out ASAP), Yarn Spinner for Godot GDScript and Yarn Spinner for Unreal Engine (work in progress) are on /docs/ (the new docs site).

LineParser.MarkupDiagnostic

Represents a diagnostic message produced during markup parsing.
public struct MarkupDiagnostic : IEquatable<MarkupDiagnostic>

Inherits from System.ValueType

Implements System.IEquatable{Yarn.Markup.LineParser.MarkupDiagnostic}

#Constructors

#MarkupDiagnostic(string, int)

Initialises a new instance of the MarkupDiagnostic struct.
public MarkupDiagnostic(string message, int column = -1)

Parameters

  • messagestring
    The diagnostic text.
  • columnint
    The zero-based first column of the diagnostic's range.

#Properties

#Column

Gets the zero-based column index of the start of the range at which this diagnostic appears.
public int Column { get; }

Type Int32

#Message

Gets the text of the diagnostic.
public string Message { get; }

Type String

#Methods

#Equals(MarkupDiagnostic)

public readonly bool Equals(MarkupDiagnostic other)

Parameters

Returns Boolean

#Equals(object)

public override readonly bool Equals(object obj)

Parameters

  • objobject

Returns Boolean

#GetHashCode()

public override readonly int GetHashCode()

Returns Int32

#Operators

#op_Equality(MarkupDiagnostic, MarkupDiagnostic)

(no declaration available)

Returns Boolean

#op_Inequality(MarkupDiagnostic, MarkupDiagnostic)

(no declaration available)

Returns Boolean

Generated from Yarn Spinner for Unity 3.3.