mirror of
https://github.com/billsonnn/nitro-react.git
synced 2024-11-23 14:40:50 +01:00
Update events
This commit is contained in:
parent
40cd7c6609
commit
561a7ae932
@ -1,9 +1,9 @@
|
||||
import { RoomWidgetUpdateEvent } from './RoomWidgetUpdateEvent';
|
||||
|
||||
export class RoomWidgetRoomEngineUpdateEvent extends RoomWidgetUpdateEvent
|
||||
export class RoomWidgetUpdateRoomEngineEvent extends RoomWidgetUpdateEvent
|
||||
{
|
||||
public static GAME_MODE: string = 'RWREUE_GAME_MODE';
|
||||
public static NORMAL_MODE: string = 'RWREUE_NORMAL_MODE';
|
||||
public static GAME_MODE: string = 'RWUREE_GAME_MODE';
|
||||
public static NORMAL_MODE: string = 'RWUREE_NORMAL_MODE';
|
||||
|
||||
private _roomId: number = 0;
|
||||
|
@ -1,16 +1,16 @@
|
||||
import { RoomWidgetUpdateEvent } from './RoomWidgetUpdateEvent';
|
||||
|
||||
export class RoomWidgetRoomObjectUpdateEvent extends RoomWidgetUpdateEvent
|
||||
export class RoomWidgetUpdateRoomObjectEvent extends RoomWidgetUpdateEvent
|
||||
{
|
||||
public static OBJECT_SELECTED: string = 'RWROUE_OBJECT_SELECTED';
|
||||
public static OBJECT_DESELECTED: string = 'RWROUE_OBJECT_DESELECTED';
|
||||
public static USER_REMOVED: string = 'RWROUE_USER_REMOVED';
|
||||
public static FURNI_REMOVED: string = 'RWROUE_FURNI_REMOVED';
|
||||
public static FURNI_ADDED: string = 'RWROUE_FURNI_ADDED';
|
||||
public static USER_ADDED: string = 'RWROUE_USER_ADDED';
|
||||
public static OBJECT_ROLL_OVER: string = 'RWROUE_OBJECT_ROLL_OVER';
|
||||
public static OBJECT_ROLL_OUT: string = 'RWROUE_OBJECT_ROLL_OUT';
|
||||
public static OBJECT_REQUEST_MANIPULATION: string = 'RWROUE_OBJECT_REQUEST_MANIPULATION';
|
||||
public static OBJECT_SELECTED: string = 'RWUROE_OBJECT_SELECTED';
|
||||
public static OBJECT_DESELECTED: string = 'RWUROE_OBJECT_DESELECTED';
|
||||
public static USER_REMOVED: string = 'RWUROE_USER_REMOVED';
|
||||
public static FURNI_REMOVED: string = 'RWUROE_FURNI_REMOVED';
|
||||
public static FURNI_ADDED: string = 'RWUROE_FURNI_ADDED';
|
||||
public static USER_ADDED: string = 'RWUROE_USER_ADDED';
|
||||
public static OBJECT_ROLL_OVER: string = 'RWUROE_OBJECT_ROLL_OVER';
|
||||
public static OBJECT_ROLL_OUT: string = 'RWUROE_OBJECT_ROLL_OUT';
|
||||
public static OBJECT_REQUEST_MANIPULATION: string = 'RWUROE_OBJECT_REQUEST_MANIPULATION';
|
||||
|
||||
private _id: number;
|
||||
private _category: number;
|
@ -0,0 +1,48 @@
|
||||
import { RoomWidgetUpdateEvent } from './RoomWidgetUpdateEvent';
|
||||
|
||||
export class RoomWidgetUpdateTrophyEvent extends RoomWidgetUpdateEvent
|
||||
{
|
||||
public static TROPHY_UPDATE: string = 'RWUTE_TROPHY_UPDATE';
|
||||
|
||||
private _color: number;
|
||||
private _name: string;
|
||||
private _date: string;
|
||||
private _message: string;
|
||||
private _extra: number;
|
||||
|
||||
constructor(type: string, color: number, name: string, date: string, message: string, extra: number)
|
||||
{
|
||||
super(type);
|
||||
|
||||
this._color = color;
|
||||
this._name = name;
|
||||
this._date = date;
|
||||
this._message = message;
|
||||
this._extra = extra;
|
||||
}
|
||||
|
||||
public get color(): number
|
||||
{
|
||||
return this._color;
|
||||
}
|
||||
|
||||
public get name(): string
|
||||
{
|
||||
return this._name;
|
||||
}
|
||||
|
||||
public get date(): string
|
||||
{
|
||||
return this._date;
|
||||
}
|
||||
|
||||
public get message(): string
|
||||
{
|
||||
return this._message;
|
||||
}
|
||||
|
||||
public get extra(): number
|
||||
{
|
||||
return this._extra;
|
||||
}
|
||||
}
|
@ -6,8 +6,6 @@ export * from './RoomWidgetChooserContentEvent';
|
||||
export * from './RoomWidgetDoorbellEvent';
|
||||
export * from './RoomWidgetFloodControlEvent';
|
||||
export * from './RoomWidgetObjectNameEvent';
|
||||
export * from './RoomWidgetRoomEngineUpdateEvent';
|
||||
export * from './RoomWidgetRoomObjectUpdateEvent';
|
||||
export * from './RoomWidgetUpdateBackgroundColorPreviewEvent';
|
||||
export * from './RoomWidgetUpdateChatEvent';
|
||||
export * from './RoomWidgetUpdateChatInputContentEvent';
|
||||
@ -27,8 +25,11 @@ export * from './RoomWidgetUpdateInfostandUserEvent';
|
||||
export * from './RoomWidgetUpdateMannequinEvent';
|
||||
export * from './RoomWidgetUpdatePresentDataEvent';
|
||||
export * from './RoomWidgetUpdateRentableBotChatEvent';
|
||||
export * from './RoomWidgetUpdateRoomEngineEvent';
|
||||
export * from './RoomWidgetUpdateRoomObjectEvent';
|
||||
export * from './RoomWidgetUpdateRoomViewEvent';
|
||||
export * from './RoomWidgetUpdateSongEvent';
|
||||
export * from './RoomWidgetUpdateTrophyEvent';
|
||||
export * from './RoomWidgetUpdateUserDataEvent';
|
||||
export * from './RoomWidgetUseProductBubbleEvent';
|
||||
export * from './UseProductItem';
|
||||
|
Loading…
Reference in New Issue
Block a user