/** * @module net/packets/incoming */ import { Writer } from '../../writer'; import { Reader } from '../../reader'; import { PacketType } from '../../packet-type'; import { Packet } from '../../packet'; import { WorldPosData } from '../../data/world-pos-data'; /** * Received when a visible enemy shoots a projectile. */ export declare class EnemyShootPacket implements Packet { type: PacketType; propagate: boolean; /** * The id of the bullet which was fired. */ bulletId: number; /** * The object id of the enemy which fired the projectile. */ ownerId: number; /** * The local identifier of the projectile. * @see `ProjectileInfo.id` */ bulletType: number; /** * The position at which the projectile was fired. */ startingPos: WorldPosData; /** * The angle at which the projectile was fired. */ angle: number; /** * The damage which the projectile will cause. */ damage: number; /** * The number of projeciles fired. */ numShots: number; /** * The angle in degrees between the projectiles if `numShots > 1`. */ angleInc: number; read(reader: Reader): void; write(writer: Writer): void; } //# sourceMappingURL=enemy-shoot-packet.d.ts.map