import { InPacketBase } from 'packets/in/packet' ; class export class InRoomJoinRequest { public roomId : number ; public roomPassword : string ; constructor ( inPacket ) { this . roomId = inPacket . readUInt16 ( ) ; this . roomPassword = inPacket . readString ( ) ; } }