From b9cb3203da4828cbcabb154db0f486350a5bbb3d Mon Sep 17 00:00:00 2001 From: Dank074 Date: Sat, 15 May 2021 03:43:18 -0500 Subject: [PATCH] cleaned AvatarRenderManager --- src/nitro/avatar/AvatarRenderManager.ts | 6 +++--- src/nitro/avatar/IAvatarRenderManager.ts | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/nitro/avatar/AvatarRenderManager.ts b/src/nitro/avatar/AvatarRenderManager.ts index 58c7af97..fa7fc07e 100644 --- a/src/nitro/avatar/AvatarRenderManager.ts +++ b/src/nitro/avatar/AvatarRenderManager.ts @@ -411,7 +411,7 @@ export class AvatarRenderManager extends NitroManager implements IAvatarRenderMa container._Str_2153(k, _arg_2); - const partSets: IFigurePartSet[] = this._Str_1667(_arg_3); + const partSets: IFigurePartSet[] = this.resolveFigureSets(_arg_3); for(const partSet of partSets) { @@ -421,7 +421,7 @@ export class AvatarRenderManager extends NitroManager implements IAvatarRenderMa return container.getFigureString(); } - private _Str_1667(k: number[]): IFigurePartSet[] + private resolveFigureSets(k: number[]): IFigurePartSet[] { const structure = this.structureData; const partSets: IFigurePartSet[] = []; @@ -436,7 +436,7 @@ export class AvatarRenderManager extends NitroManager implements IAvatarRenderMa return partSets; } - public _Str_838(k: string, _arg_2: number): string[] + public getMandatoryAvatarPartSetIds(k: string, _arg_2: number): string[] { if(!this._structure) return null; diff --git a/src/nitro/avatar/IAvatarRenderManager.ts b/src/nitro/avatar/IAvatarRenderManager.ts index ac3f3fed..3bee9b2b 100644 --- a/src/nitro/avatar/IAvatarRenderManager.ts +++ b/src/nitro/avatar/IAvatarRenderManager.ts @@ -18,11 +18,11 @@ export interface IAvatarRenderManager extends INitroManager getFigureClubLevel(container: IAvatarFigureContainer, gender: string, searchParts: string[]): number; isValidFigureSetForGender(setId: number, gender: string): boolean; getFigureStringWithFigureIds(k: string, _arg_2: string, _arg_3: number[]): string; - _Str_838(k: string, _arg_2: number): string[]; + getMandatoryAvatarPartSetIds(k: string, _arg_2: number): string[]; getAssetByName(name: string): IGraphicAsset; assets: IAssetManager; isReady: boolean; structure: AvatarStructure; structureData: IStructureData; downloadManager: AvatarAssetDownloadManager; -} \ No newline at end of file +}