import LoginClientPacket from "./LoginClientPacket" ; import { AccountKickedReason } from "../../../enums/AccountKickedReason" ; export default class AccountKicked extends LoginClientPacket { Reason ! : number ; readImpl ( ) { const _id = this . readC ( ) ; this . Reason = this . readC ( ) ; throw Error ( "Account kicked. Reason: " + AccountKickedReason [ this . Reason ] ) ; } }