Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -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;
}
}