2022-11-03 14:40:24 -04:00
|
|
|
|
import { IRoomSession } from '../../api';
|
2021-03-16 22:02:09 -04:00
|
|
|
|
import { RoomSessionEvent } from './RoomSessionEvent';
|
|
|
|
|
|
|
|
|
|
export class RoomSessionErrorMessageEvent extends RoomSessionEvent
|
|
|
|
|
{
|
|
|
|
|
public static RSEME_KICKED: string = 'RSEME_KICKED';
|
|
|
|
|
public static RSEME_PETS_FORBIDDEN_IN_HOTEL: string = 'RSEME_PETS_FORBIDDEN_IN_HOTEL';
|
|
|
|
|
public static RSEME_PETS_FORBIDDEN_IN_FLAT: string = 'RSEME_PETS_FORBIDDEN_IN_FLAT';
|
|
|
|
|
public static RSEME_MAX_PETS: string = 'RSEME_MAX_PETS';
|
|
|
|
|
public static RSEME_MAX_NUMBER_OF_OWN_PETS: string = 'RSEME_MAX_NUMBER_OF_OWN_PETS';
|
|
|
|
|
public static RSEME_NO_FREE_TILES_FOR_PET: string = 'RSEME_NO_FREE_TILES_FOR_PET';
|
|
|
|
|
public static RSEME_SELECTED_TILE_NOT_FREE_FOR_PET: string = 'RSEME_SELECTED_TILE_NOT_FREE_FOR_PET';
|
|
|
|
|
public static RSEME_BOTS_FORBIDDEN_IN_HOTEL: string = 'RSEME_BOTS_FORBIDDEN_IN_HOTEL';
|
|
|
|
|
public static RSEME_BOTS_FORBIDDEN_IN_FLAT: string = 'RSEME_BOTS_FORBIDDEN_IN_FLAT';
|
|
|
|
|
public static RSEME_BOT_LIMIT_REACHED: string = 'RSEME_BOT_LIMIT_REACHED';
|
|
|
|
|
public static RSEME_SELECTED_TILE_NOT_FREE_FOR_BOT: string = 'RSEME_SELECTED_TILE_NOT_FREE_FOR_BOT';
|
|
|
|
|
public static RSEME_BOT_NAME_NOT_ACCEPTED: string = 'RSEME_BOT_NAME_NOT_ACCEPTED';
|
|
|
|
|
|
|
|
|
|
private _message: string;
|
|
|
|
|
|
2022-11-02 01:54:01 -04:00
|
|
|
|
constructor(k: string, _arg_2: IRoomSession, _arg_3: string = null)
|
2021-03-16 22:02:09 -04:00
|
|
|
|
{
|
|
|
|
|
super(k, _arg_2);
|
|
|
|
|
|
|
|
|
|
this._message = _arg_3;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public get message(): string
|
|
|
|
|
{
|
|
|
|
|
return this._message;
|
|
|
|
|
}
|
2022-11-02 01:54:01 -04:00
|
|
|
|
}
|