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

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

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