import { IMessageEvent } from '@nitrots/api';
import { MessageEvent } from '@nitrots/events';
import { FurniRentOrBuyoutOfferMessageParser } from '../../../parser';

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

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