/** * @module net/packets/outgoing */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; /** * Sent when the player is hit. */ export declare class PlayerHitPacket implements Packet { type: PacketType; propagate: boolean; /** * The id of the bullet which hit the player. */ bulletId: number; /** * The object id of the enemy that hit the player. */ objectId: number; write(writer: Writer): void; read(reader: Reader): void; } //# sourceMappingURL=player-hit-packet.d.ts.map