import GameServerPacket from "./GameServerPacket" ; export default class RequestAnswerJoinParty extends GameServerPacket { static readonly ANSWER_CANCEL = 0 ; static readonly ANSWER_ACCEPT = 1 ; constructor ( public answer = - 1 ) { super ( ) ; } write ( ) { this . writeC ( 0x43 ) ; this . writeD ( this . answer ) ; } }