import {IMessageEvent} from "../../../../../api";
import {MessageEvent} from "../../../../../events";
import {GuestRoomSearchResultMessageParser} from "../../parser";

export class GuestRoomSearchResultEvent extends MessageEvent implements IMessageEvent {
  constructor(callBack: Function) {
    super(callBack, GuestRoomSearchResultMessageParser);
  }

  public getParser(): GuestRoomSearchResultMessageParser {
    return this.parser as GuestRoomSearchResultMessageParser;
  }
}
