/** * @module net/packets/incoming */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Received to tell the player about damage done to other players and enemies. */ export declare class DamagePacket implements Packet { type: PacketType; propagate: boolean; /** * The object id of the entity receiving the damage. */ targetId: number; /** * An array of status effects which were applied with the damage. */ effects: number[]; /** * The amount of damage taken. */ damageAmount: number; /** * Whether or not the damage resulted in killing the entity. */ kill: boolean; /** * Whether or not the damage was armor piercing. */ armorPierce: boolean; /** * The id of the bullet which caused the damage. */ bulletId: number; /** * The object id of the entity which owned the bullet that caused the damage. */ objectId: number; constructor(); read(reader: Reader): void; write(writer: Writer): void; } //# sourceMappingURL=damage-packet.d.ts.map