Class TTalkRecord
Unit
Declaration
type TTalkRecord = class(TInterfacedObject, ITalkRecord)
Description
Record of Talk data in an Endless Talk File
Hierarchy
- TInterfacedObject
- TTalkRecord
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetNpcId: Cardinal; |
|
procedure SetNpcId(NpcId: Cardinal); |
|
function GetRate: Cardinal; |
|
procedure SetRate(Rate: Cardinal); |
|
function GetMessages: TArray<ITalkMessageRecord>; |
|
procedure SetMessages(Messages: TArray<ITalkMessageRecord>); |
|
procedure Serialize(Writer: TEoWriter); |
|
class function Deserialize(Reader: TEoReader): TTalkRecord; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property NpcId: Cardinal read GetNpcId write SetNpcId; |
|
property Rate: Cardinal read GetRate write SetRate; |
|
property Messages: TArray<ITalkMessageRecord> read GetMessages write SetMessages; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetNpcId: Cardinal; |
|
This item has no description. |
procedure SetNpcId(NpcId: Cardinal); |
|
This item has no description. |
function GetRate: Cardinal; |
|
This item has no description. |
procedure SetRate(Rate: Cardinal); |
|
This item has no description. |
function GetMessages: TArray<ITalkMessageRecord>; |
|
This item has no description. |
procedure SetMessages(Messages: TArray<ITalkMessageRecord>); |
|
This item has no description. |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function Deserialize(Reader: TEoReader): TTalkRecord; |
|
Deserializes an instance of Parameters
ReturnsThe deserialized object |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
The size of the data that this object was deserialized from.
|
property NpcId: Cardinal read GetNpcId write SetNpcId; |
|
ID of the NPC that will talk
|
property Rate: Cardinal read GetRate write SetRate; |
|
Chance that the NPC will talk (0-100)
|
property Messages: TArray<ITalkMessageRecord> read GetMessages write SetMessages; |
|
|
Generated by PasDoc 0.16.0-snapshot.