You've already forked Nitro_Render_V3
mirror of
https://github.com/duckietm/Nitro_Render_V3.git
synced 2026-06-20 15:36:18 +00:00
🆙 Make have_offer read from emu
This commit is contained in:
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class CatalogAdminSavePageIconComposer implements IMessageComposer<ConstructorParameters<typeof CatalogAdminSavePageIconComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof CatalogAdminSavePageIconComposer>;
|
||||
|
||||
constructor(pageId: number, iconId: number)
|
||||
{
|
||||
this._data = [ pageId, iconId ];
|
||||
}
|
||||
|
||||
dispose(): void
|
||||
{
|
||||
this._data = null;
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
}
|
||||
+21
@@ -0,0 +1,21 @@
|
||||
import { IMessageComposer } from '@nitrots/api';
|
||||
|
||||
export class CatalogAdminSavePageImagesComposer implements IMessageComposer<ConstructorParameters<typeof CatalogAdminSavePageImagesComposer>>
|
||||
{
|
||||
private _data: ConstructorParameters<typeof CatalogAdminSavePageImagesComposer>;
|
||||
|
||||
constructor(pageId: number, headerImage: string, teaserImage: string)
|
||||
{
|
||||
this._data = [ pageId, headerImage, teaserImage ];
|
||||
}
|
||||
|
||||
dispose(): void
|
||||
{
|
||||
this._data = null;
|
||||
}
|
||||
|
||||
public getMessageArray()
|
||||
{
|
||||
return this._data;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user