import { PolusBuffer } from "../../../../util/polusBuffer" ; import { PacketHandler } from "../../../packet" ; export interface ExitVentPacket { VentID : number ; } export const ExitVent = { parse ( packet ) { return { VentID : packet . readVarInt ( ) , } ; } , serialize ( packet ) { var buf = new PolusBuffer ( ) ; buf . writeVarInt ( packet . VentID ) ; return buf ; } , } ;