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
Move to Renderer V2
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user