eolib - v2.0.1
    Preparing search index...

    Class InnQuestionRecord

    Record of a question and answer that the player must answer to register citizenship with an inn

    Index

    Constructors

    Accessors

    • get answer(): string

      Returns string

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

      Parameters

      • answer: string

      Returns void

      • Length must be 252 or less.
    • 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 question(): string

      Returns string

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

      Parameters

      • question: string

      Returns void

      • Length must be 252 or less.

    Methods

    • Deserializes an instance of InnQuestionRecord from the provided EoReader.

      Parameters

      • reader: EoReader

        the reader that the data will be deserialized from

      Returns InnQuestionRecord

      The deserialized data

    • Serializes an instance of InnQuestionRecord to the provided EoWriter.

      Parameters

      Returns void