Class TInnQuestionRecord

Unit

Declaration

type TInnQuestionRecord = class(TInterfacedObject, IInnQuestionRecord)

Description

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

Hierarchy

Overview

Methods

Public function _GetByteSize: Cardinal;
Public function _GetQuestion: string;
Public procedure _SetQuestion(Question: string);
Public function _GetAnswer: string;
Public procedure _SetAnswer(Answer: string);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TInnQuestionRecord;

Properties

Public property ByteSize: Cardinal read _GetByteSize;
Public property Question: string read _GetQuestion write _SetQuestion;
Public property Answer: string read _GetAnswer write _SetAnswer;

Description

Methods

Public function _GetByteSize: Cardinal;

This item has no description.

Public function _GetQuestion: string;

This item has no description.

Public procedure _SetQuestion(Question: string);

This item has no description.

Public function _GetAnswer: string;

This item has no description.

Public procedure _SetAnswer(Answer: string);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TInnQuestionRecord object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function Deserialize(Reader: TEoReader): TInnQuestionRecord;

Deserializes an instance of TInnQuestionRecord from the provided TEoReader.

Parameters
Reader
The reader that the object will be deserialized from
Returns

The deserialized object

Properties

Public property ByteSize: Cardinal read _GetByteSize;

The size of the data that this object was deserialized from.

Note
0 if the instance was not created by the Deserialize method.

Public property Question: string read _GetQuestion write _SetQuestion;

Note
Length must be 252 or less

Public property Answer: string read _GetAnswer write _SetAnswer;

Note
Length must be 252 or less


Generated by PasDoc 0.16.0-snapshot.