mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-18 22:36:27 +01:00
cleaned AvatarRenderManager
This commit is contained in:
parent
cf80e57cd7
commit
b9cb3203da
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user