nitro-react/src/events/catalog/CatalogNameResultEvent.ts
2021-05-22 13:27:39 -04:00

26 lines
536 B
TypeScript

import { CatalogEvent } from './CatalogEvent';
export class CatalogNameResultEvent extends CatalogEvent
{
private _result: number;
private _validationInfo: string;
constructor(result: number, validationInfo: string)
{
super(CatalogEvent.APPROVE_NAME_RESULT);
this._result = result;
this._validationInfo = validationInfo;
}
public get result(): number
{
return this._result;
}
public get validationInfo(): string
{
return this._validationInfo;
}
}