Class TTalkMessageRecord

Unit

Declaration

type TTalkMessageRecord = class(TInterfacedObject, ITalkMessageRecord)

Description

Record of a message that an NPC can say

Hierarchy

Overview

Methods

Public function _GetByteSize: Cardinal;
Public function _GetMessage: string;
Public procedure _SetMessage(Message: string);
Public procedure Serialize(Writer: TEoWriter);
Public class function Deserialize(Reader: TEoReader): TTalkMessageRecord;

Properties

Public property ByteSize: Cardinal read _GetByteSize;
Public property Message: string read _GetMessage write _SetMessage;

Description

Methods

Public function _GetByteSize: Cardinal;

This item has no description.

Public function _GetMessage: string;

This item has no description.

Public procedure _SetMessage(Message: string);

This item has no description.

Public procedure Serialize(Writer: TEoWriter);

Serializes this TTalkMessageRecord object to the provided TEoWriter.

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

Deserializes an instance of TTalkMessageRecord 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 Message: string read _GetMessage write _SetMessage;

Note
Length must be 252 or less


Generated by PasDoc 0.16.0-snapshot.