import LoginClientPacket from "./LoginClientPacket" ; import { PlayFailReason } from "../../../enums/PlayFailReason" ; export default class PlayFail extends LoginClientPacket { public FailReason ! : PlayFailReason ; readImpl ( ) { const _id = this . readC ( ) ; const _reason = this . readC ( ) ; this . FailReason = ( PlayFailReason as any ) [ _reason ] ; return true ; } }