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
Updated the renderer V2
This commit is contained in:
@@ -39,7 +39,7 @@ export class CommunicationManager implements ICommunicationManager
|
||||
}
|
||||
|
||||
private getCanvas(): any {
|
||||
const e = document.createElement('canvas'), t = e.getContext('2d'), userAgent = navigator.userAgent, screenInfo = '${window.screen.width}x${window.screen.height}', currentDate = new Date().toString(), s = 'ThiosIsVerrySeCuRe02938883721##@@@_moreStuff! | ${userAgent} | ${screenInfo} | ${currentDate}';
|
||||
const e = document.createElement('canvas'), t = e.getContext('2d'), userAgent = navigator.userAgent, screenInfo = '${window.screen.width}x${window.screen.height}', currentDate = new Date().toString(), s = 'ThiosIsVerrySeCuRe02938883721moreStuff! | ${userAgent} | ${screenInfo} | ${currentDate}';
|
||||
t.textBaseline = 'top';
|
||||
t.font = "16px 'Arial'";
|
||||
t.textBaseline = 'alphabetic';
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -468,4 +468,8 @@ export class OutgoingHeader
|
||||
public static RENTABLE_EXTEND_RENT_OR_BUYOUT_STRIP_ITEM = 2115;
|
||||
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;
|
||||
}
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../../api';
|
||||
|
||||
export class DeleteItemMessageComposer implements IMessageComposer<ConstructorParameters<typeof DeleteItemMessageComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof DeleteItemMessageComposer>;
|
||||
|
||||
constructor(itemId: number, amount: number)
|
||||
{
|
||||
this._data = [itemId, amount];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -1,2 +1,3 @@
|
||||
export * from './DeleteItemMessageComposer';
|
||||
export * from './FurnitureListComposer';
|
||||
export * from './RequestFurniInventoryWhenNotInRoomComposer';
|
||||
|
||||
Reference in New Issue
Block a user