import { PolusBuffer } from "../../util/polusBuffer" ; import { PacketHandler } from "../packet" ; import { DisconnectReason } from "../packetElements/disconnectReason" ; export interface RemoveRoomPacket { type : "RemoveRoom" ; DisconnectReason : DisconnectReason ; } export const RemoveRoom = { parse ( packet ) { return { type : "RemoveRoom" , DisconnectReason : new DisconnectReason ( packet ) , } ; } , serialize ( packet ) { return packet . DisconnectReason . serialize ( ) ; } , } ;