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.