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
Sync renderer safety push
This commit is contained in:
@@ -278,6 +278,8 @@ export class OutgoingHeader
|
||||
public static WIRED_USER_VARIABLE_UPDATE = 10025;
|
||||
public static WIRED_USER_VARIABLE_MANAGE = 10026;
|
||||
public static WIRED_USER_INSPECT_MOVE = 10027;
|
||||
public static TRANSLATION_LANGUAGES_REQUEST = 10032;
|
||||
public static TRANSLATION_TEXT_REQUEST = 10033;
|
||||
public static WIRED_OPEN = 768;
|
||||
public static WIRED_TRIGGER_SAVE = 1520;
|
||||
public static GET_ITEM_DATA = 3964;
|
||||
@@ -510,4 +512,9 @@ export class OutgoingHeader
|
||||
public static SET_ACTIVE_PREFIX = 7012;
|
||||
public static DELETE_PREFIX = 7013;
|
||||
public static PURCHASE_PREFIX = 7014;
|
||||
public static REQUEST_NICK_ICONS = 7015;
|
||||
public static PURCHASE_NICK_ICON = 7016;
|
||||
public static SET_ACTIVE_NICK_ICON = 7017;
|
||||
public static PURCHASE_CATALOG_PREFIX = 7018;
|
||||
public static SET_DISPLAY_ORDER = 7019;
|
||||
}
|
||||
|
||||
@@ -66,6 +66,7 @@ export * from './roomsettings';
|
||||
export * from './sound';
|
||||
export * from './talent';
|
||||
export * from './tracking';
|
||||
export * from './translation';
|
||||
export * from './user';
|
||||
export * from './user/data';
|
||||
export * from './user/inventory';
|
||||
|
||||
@@ -2,6 +2,7 @@ export * from './avatareffect';
|
||||
export * from './badges';
|
||||
export * from './bots';
|
||||
export * from './furni';
|
||||
export * from './nickicons';
|
||||
export * from './pets';
|
||||
export * from './prefixes';
|
||||
export * from './trading';
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class PurchaseNickIconComposer implements IMessageComposer<ConstructorParameters<typeof PurchaseNickIconComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PurchaseNickIconComposer>;
|
||||
|
||||
constructor(iconKey: string)
|
||||
{
|
||||
this._data = [ iconKey ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class RequestNickIconsComposer implements IMessageComposer<ConstructorParameters<typeof RequestNickIconsComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof RequestNickIconsComposer>;
|
||||
|
||||
constructor()
|
||||
{
|
||||
this._data = [];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class SetActiveNickIconComposer implements IMessageComposer<ConstructorParameters<typeof SetActiveNickIconComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof SetActiveNickIconComposer>;
|
||||
|
||||
constructor(iconId: number)
|
||||
{
|
||||
this._data = [ iconId ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
export * from './PurchaseNickIconComposer';
|
||||
export * from './RequestNickIconsComposer';
|
||||
export * from './SetActiveNickIconComposer';
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class PurchaseCatalogPrefixComposer implements IMessageComposer<ConstructorParameters<typeof PurchaseCatalogPrefixComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PurchaseCatalogPrefixComposer>;
|
||||
|
||||
constructor(prefixId: number)
|
||||
{
|
||||
this._data = [ prefixId ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
this._data = null;
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -4,9 +4,9 @@ export class PurchasePrefixComposer implements IMessageComposer<ConstructorParam
|
||||
{
|
||||
private _data: ConstructorParameters<typeof PurchasePrefixComposer>;
|
||||
|
||||
constructor(text: string, color: string, icon: string = '', effect: string = '')
|
||||
constructor(text: string, color: string, icon: string = '', effect: string = '', font: string = '')
|
||||
{
|
||||
this._data = [ text, color, icon, effect ];
|
||||
this._data = [ text, color, icon, effect, font ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '../../../../../api';
|
||||
|
||||
export class SetDisplayOrderComposer implements IMessageComposer<ConstructorParameters<typeof SetDisplayOrderComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof SetDisplayOrderComposer>;
|
||||
|
||||
constructor(displayOrder: string)
|
||||
{
|
||||
this._data = [ displayOrder ];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
this._data = null;
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,6 @@
|
||||
export * from './DeletePrefixComposer';
|
||||
export * from './PurchaseCatalogPrefixComposer';
|
||||
export * from './PurchasePrefixComposer';
|
||||
export * from './RequestPrefixesComposer';
|
||||
export * from './SetDisplayOrderComposer';
|
||||
export * from './SetActivePrefixComposer';
|
||||
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class TranslationLanguagesRequestComposer implements IMessageComposer<ConstructorParameters<typeof TranslationLanguagesRequestComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof TranslationLanguagesRequestComposer>;
|
||||
|
||||
constructor(displayLanguage: string = 'en')
|
||||
{
|
||||
this._data = [displayLanguage];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class TranslationTextRequestComposer implements IMessageComposer<ConstructorParameters<typeof TranslationTextRequestComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof TranslationTextRequestComposer>;
|
||||
|
||||
constructor(requestId: number, text: string, targetLanguage: string)
|
||||
{
|
||||
this._data = [requestId, text, targetLanguage];
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
|
||||
public dispose(): void
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
export * from './TranslationLanguagesRequestComposer';
|
||||
export * from './TranslationTextRequestComposer';
|
||||
Reference in New Issue
Block a user