cleaned AvatarRenderManager

This commit is contained in:
Dank074 2021-05-15 03:43:18 -05:00
parent cf80e57cd7
commit b9cb3203da
2 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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;
}
}