Move to Renderer V2

This commit is contained in:
duckietm
2024-04-03 09:27:56 +02:00
parent 110c3ad393
commit b3134ce50b
4080 changed files with 115593 additions and 66375 deletions
@@ -0,0 +1,21 @@
import { IEffectAssetDownloadLibrary } from '@nitrots/api';
import { NitroEvent } from '../core';
export class AvatarRenderEffectLibraryEvent extends NitroEvent
{
public static DOWNLOAD_COMPLETE: string = 'ARELE_DOWNLOAD_COMPLETE';
private _library: IEffectAssetDownloadLibrary;
constructor(type: string, library: IEffectAssetDownloadLibrary)
{
super(type);
this._library = library;
}
public get library(): IEffectAssetDownloadLibrary
{
return this._library;
}
}
@@ -0,0 +1,21 @@
import { IAvatarAssetDownloadLibrary } from '@nitrots/api';
import { NitroEvent } from '../core';
export class AvatarRenderLibraryEvent extends NitroEvent
{
public static DOWNLOAD_COMPLETE: string = 'ARLE_DOWNLOAD_COMPLETE';
private _library: IAvatarAssetDownloadLibrary;
constructor(type: string, library: IAvatarAssetDownloadLibrary)
{
super(type);
this._library = library;
}
public get library(): IAvatarAssetDownloadLibrary
{
return this._library;
}
}
+2
View File
@@ -0,0 +1,2 @@
export * from './AvatarRenderEffectLibraryEvent';
export * from './AvatarRenderLibraryEvent';