🆙 added latest changes

This commit is contained in:
duckietm
2024-07-04 15:03:26 +02:00
parent d5a3a05c40
commit bd09ea8b25
116 changed files with 2246 additions and 1794 deletions
@@ -1,5 +1,8 @@
export class OutgoingHeader
{
// These packets do not belong to this revision, so these are custom packet ids
public static CLICK_FURNI = 6002;
public static ACHIEVEMENT_LIST = 219;
public static AUTHENTICATION = -1;
public static BOT_CONFIGURATION = 1986;
@@ -469,7 +472,5 @@ export class OutgoingHeader
public static RENTABLE_EXTEND_RENT_OR_BUYOUT_FURNI = 1071;
public static RENTABLE_GET_RENT_OR_BUYOUT_OFFER = 2518;
// CUSTOM HEADERS
public static DELETE_ITEM = 10018;
}
@@ -0,0 +1,21 @@
import { IMessageComposer } from '@nitrots/api';
export class ClickFurniMessageComposer implements IMessageComposer<ConstructorParameters<typeof ClickFurniMessageComposer>>
{
private _data: ConstructorParameters<typeof ClickFurniMessageComposer>;
constructor(id: number, category: number)
{
this._data = [id, category];
}
public getMessageArray()
{
return this._data;
}
public dispose(): void
{
return;
}
}
@@ -1,6 +1,7 @@
export * from './BotPlaceComposer';
export * from './BotRemoveComposer';
export * from './BotSkillSaveComposer';
export * from './ClickFurniMessageComposer';
export * from './CompostPlantMessageComposer';
export * from './GetItemDataComposer';
export * from './HarvestPetMessageComposer';