You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 07:26:18 +00:00
29 lines
743 B
TypeScript
29 lines
743 B
TypeScript
import { IRoomSession } from '@nitrots/api';
|
|
import { RoomSessionEvent } from './RoomSessionEvent';
|
|
|
|
export class RoomSessionNestBreedingSuccessEvent extends RoomSessionEvent
|
|
{
|
|
public static NEST_BREEDING_SUCCESS: string = 'RSPFUE_NEST_BREEDING_SUCCESS';
|
|
|
|
private _rarityCategory: number;
|
|
private _petId: number;
|
|
|
|
constructor(session: IRoomSession, petId: number, rarityCategory: number)
|
|
{
|
|
super(RoomSessionNestBreedingSuccessEvent.NEST_BREEDING_SUCCESS, session);
|
|
|
|
this._petId = petId;
|
|
this._rarityCategory = rarityCategory;
|
|
}
|
|
|
|
public get rarityCategory(): number
|
|
{
|
|
return this._rarityCategory;
|
|
}
|
|
|
|
public get petId(): number
|
|
{
|
|
return this._petId;
|
|
}
|
|
}
|