eolib - v2.0.1
    Preparing search index...

    Class TalkMessageRecord

    Record of a message that an NPC can say

    Index

    Constructors

    Accessors

    Methods

    Constructors

    Accessors

    • get byteSize(): number

      Returns the size of the data that this was deserialized from.

      Returns number

      The size of the data that this was deserialized from

    • get message(): string

      Returns string

      • Length must be 252 or less.
    • set message(message: string): void

      Parameters

      • message: string

      Returns void

      • Length must be 252 or less.

    Methods

    • Deserializes an instance of TalkMessageRecord from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns TalkMessageRecord

      The deserialized data

    • Serializes an instance of TalkMessageRecord to the provided EoWriter.

      Parameters

      Returns void