Class TNpcPlayerServerPacket
Unit
Declaration
type TNpcPlayerServerPacket = class(TInterfacedObject, IPacket, INpcPlayerServerPacket)
Description
Main NPC update message
Hierarchy
- TInterfacedObject
- TNpcPlayerServerPacket
Overview
Methods
function GetByteSize: Cardinal; |
|
function GetPositions: TArray<INpcUpdatePosition>; |
|
procedure SetPositions(Positions: TArray<INpcUpdatePosition>); |
|
function GetAttacks: TArray<INpcUpdateAttack>; |
|
procedure SetAttacks(Attacks: TArray<INpcUpdateAttack>); |
|
function GetChats: TArray<INpcUpdateChat>; |
|
procedure SetChats(Chats: TArray<INpcUpdateChat>); |
|
function GetHp: TOptional<Cardinal>; |
|
procedure SetHp(Hp: TOptional<Cardinal>); |
|
function GetTp: TOptional<Cardinal>; |
|
procedure SetTp(Tp: TOptional<Cardinal>); |
|
function Family: TPacketFamily; |
|
function Action: TPacketAction; |
|
procedure Serialize(Writer: TEoWriter); |
|
class function PacketFamily: TPacketFamily; |
|
class function PacketAction: TPacketAction; |
|
class function Deserialize(Reader: TEoReader): TNpcPlayerServerPacket; |
Properties
property ByteSize: Cardinal read GetByteSize; |
|
property Positions: TArray<INpcUpdatePosition> read GetPositions write SetPositions; |
|
property Attacks: TArray<INpcUpdateAttack> read GetAttacks write SetAttacks; |
|
property Chats: TArray<INpcUpdateChat> read GetChats write SetChats; |
|
property Hp: TOptional<Cardinal> read GetHp write SetHp; |
|
property Tp: TOptional<Cardinal> read GetTp write SetTp; |
Description
Methods
function GetByteSize: Cardinal; |
|
This item has no description. |
function GetPositions: TArray<INpcUpdatePosition>; |
|
This item has no description. |
procedure SetPositions(Positions: TArray<INpcUpdatePosition>); |
|
This item has no description. |
function GetAttacks: TArray<INpcUpdateAttack>; |
|
This item has no description. |
procedure SetAttacks(Attacks: TArray<INpcUpdateAttack>); |
|
This item has no description. |
function GetChats: TArray<INpcUpdateChat>; |
|
This item has no description. |
procedure SetChats(Chats: TArray<INpcUpdateChat>); |
|
This item has no description. |
function GetHp: TOptional<Cardinal>; |
|
This item has no description. |
procedure SetHp(Hp: TOptional<Cardinal>); |
|
This item has no description. |
function GetTp: TOptional<Cardinal>; |
|
This item has no description. |
procedure SetTp(Tp: TOptional<Cardinal>); |
|
This item has no description. |
function Family: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
function Action: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
procedure Serialize(Writer: TEoWriter); |
|
Serializes this Parameters
|
class function PacketFamily: TPacketFamily; |
|
Returns the packet family associated with this packet. ReturnsThe packet family associated with this packet |
class function PacketAction: TPacketAction; |
|
Returns the packet action associated with this packet. ReturnsThe packet action associated with this packet |
class function Deserialize(Reader: TEoReader): TNpcPlayerServerPacket; |
|
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 Positions: TArray<INpcUpdatePosition> read GetPositions write SetPositions; |
|
This item has no description. |
property Attacks: TArray<INpcUpdateAttack> read GetAttacks write SetAttacks; |
|
This item has no description. |
property Chats: TArray<INpcUpdateChat> read GetChats write SetChats; |
|
This item has no description. |
property Hp: TOptional<Cardinal> read GetHp write SetHp; |
|
|
property Tp: TOptional<Cardinal> read GetTp write SetTp; |
|
|
Generated by PasDoc 0.16.0-snapshot.