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
36 lines
838 B
TypeScript
36 lines
838 B
TypeScript
import { IRoomSession } from '@nitrots/api';
|
|
import { RoomSessionEvent } from './RoomSessionEvent';
|
|
|
|
export class RoomSessionPetBreedingEvent extends RoomSessionEvent
|
|
{
|
|
public static PET_BREEDING: string = 'RSPFUE_PET_BREEDING';
|
|
|
|
private _state: number;
|
|
private _ownPetId: number;
|
|
private _otherPetId: number;
|
|
|
|
constructor(session: IRoomSession, state: number, ownPetId: number, otherPetId: number)
|
|
{
|
|
super(RoomSessionPetBreedingEvent.PET_BREEDING, session);
|
|
|
|
this._state = state;
|
|
this._ownPetId = ownPetId;
|
|
this._otherPetId = otherPetId;
|
|
}
|
|
|
|
public get state(): number
|
|
{
|
|
return this._state;
|
|
}
|
|
|
|
public get ownPetId(): number
|
|
{
|
|
return this._ownPetId;
|
|
}
|
|
|
|
public get otherPetId(): number
|
|
{
|
|
return this._otherPetId;
|
|
}
|
|
}
|