Class DialogEntry

An entry in a quest dialog

Hierarchy

  • DialogEntry

Constructors

Properties

_byteSize: number = 0
_entryType: DialogEntryType = null
_entryTypeData: EntryTypeDataLink
_line: string = null

Accessors

  • get byteSize(): number
  • Returns the size of the data that this was deserialized from.

    Returns

    The size of the data that this was deserialized from

    Returns number

  • get entryTypeData(): EntryTypeDataLink
  • Returns data associated with the entryType field.

    Returns

    Data associated with the entryType field

    Returns EntryTypeDataLink

  • set entryTypeData(entryTypeData: EntryTypeDataLink): void
  • Sets data associated with the entryType field.

    Parameters

    Returns void

  • get line(): string
  • Returns string

  • set line(line: string): void
  • Parameters

    • line: string

    Returns void

Methods

  • Deserializes an instance of DialogEntry from the provided EoReader.

    Returns

    The deserialized data

    Parameters

    • reader: EoReader

      the reader that the data will be deserialized from

    Returns DialogEntry

  • Serializes an instance of DialogEntry to the provided EoWriter.

    Parameters

    • writer: EoWriter

      the writer that the data will be serialized to

    • data: DialogEntry

      the data to serialize

    Returns void

Generated using TypeDoc