Class TNpcPlayerServerPacket

Unit

Declaration

type TNpcPlayerServerPacket = class(TInterfacedObject, IPacket, INpcPlayerServerPacket)

Description

Main NPC update message

Hierarchy

Overview

Methods

Public function GetByteSize: Cardinal;
Public function GetPositions: TArray<INpcUpdatePosition>;
Public procedure SetPositions(Positions: TArray<INpcUpdatePosition>);
Public function GetAttacks: TArray<INpcUpdateAttack>;
Public procedure SetAttacks(Attacks: TArray<INpcUpdateAttack>);
Public function GetChats: TArray<INpcUpdateChat>;
Public procedure SetChats(Chats: TArray<INpcUpdateChat>);
Public function GetHp: TOptional<Cardinal>;
Public procedure SetHp(Hp: TOptional<Cardinal>);
Public function GetTp: TOptional<Cardinal>;
Public procedure SetTp(Tp: TOptional<Cardinal>);
Public function Family: TPacketFamily;
Public function Action: TPacketAction;
Public procedure Serialize(Writer: TEoWriter);
Public class function PacketFamily: TPacketFamily;
Public class function PacketAction: TPacketAction;
Public class function Deserialize(Reader: TEoReader): TNpcPlayerServerPacket;

Properties

Public property ByteSize: Cardinal read GetByteSize;
Public property Positions: TArray<INpcUpdatePosition> read GetPositions write SetPositions;
Public property Attacks: TArray<INpcUpdateAttack> read GetAttacks write SetAttacks;
Public property Chats: TArray<INpcUpdateChat> read GetChats write SetChats;
Public property Hp: TOptional<Cardinal> read GetHp write SetHp;
Public property Tp: TOptional<Cardinal> read GetTp write SetTp;

Description

Methods

Public function GetByteSize: Cardinal;

This item has no description.

Public function GetPositions: TArray<INpcUpdatePosition>;

This item has no description.

Public procedure SetPositions(Positions: TArray<INpcUpdatePosition>);

This item has no description.

Public function GetAttacks: TArray<INpcUpdateAttack>;

This item has no description.

Public procedure SetAttacks(Attacks: TArray<INpcUpdateAttack>);

This item has no description.

Public function GetChats: TArray<INpcUpdateChat>;

This item has no description.

Public procedure SetChats(Chats: TArray<INpcUpdateChat>);

This item has no description.

Public function GetHp: TOptional<Cardinal>;

This item has no description.

Public procedure SetHp(Hp: TOptional<Cardinal>);

This item has no description.

Public function GetTp: TOptional<Cardinal>;

This item has no description.

Public procedure SetTp(Tp: TOptional<Cardinal>);

This item has no description.

Public function Family: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public function Action: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public procedure Serialize(Writer: TEoWriter);

Serializes this TNpcPlayerServerPacket object to the provided TEoWriter.

Parameters
Writer
The writer that this object will be serialized to
Public class function PacketFamily: TPacketFamily;

Returns the packet family associated with this packet.

Returns

The packet family associated with this packet

Public class function PacketAction: TPacketAction;

Returns the packet action associated with this packet.

Returns

The packet action associated with this packet

Public class function Deserialize(Reader: TEoReader): TNpcPlayerServerPacket;

Deserializes an instance of TNpcPlayerServerPacket 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 Positions: TArray<INpcUpdatePosition> read GetPositions write SetPositions;

This item has no description.

Public property Attacks: TArray<INpcUpdateAttack> read GetAttacks write SetAttacks;

This item has no description.

Public property Chats: TArray<INpcUpdateChat> read GetChats write SetChats;

This item has no description.

Public property Hp: TOptional<Cardinal> read GetHp write SetHp;

Note
Value range is 0-64008

Public property Tp: TOptional<Cardinal> read GetTp write SetTp;

Note
Value range is 0-64008


Generated by PasDoc 0.16.0-snapshot.