mirror of
https://github.com/billsonnn/nitro-renderer.git
synced 2025-01-19 06:46:28 +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);
|
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)
|
for(const partSet of partSets)
|
||||||
{
|
{
|
||||||
@ -421,7 +421,7 @@ export class AvatarRenderManager extends NitroManager implements IAvatarRenderMa
|
|||||||
return container.getFigureString();
|
return container.getFigureString();
|
||||||
}
|
}
|
||||||
|
|
||||||
private _Str_1667(k: number[]): IFigurePartSet[]
|
private resolveFigureSets(k: number[]): IFigurePartSet[]
|
||||||
{
|
{
|
||||||
const structure = this.structureData;
|
const structure = this.structureData;
|
||||||
const partSets: IFigurePartSet[] = [];
|
const partSets: IFigurePartSet[] = [];
|
||||||
@ -436,7 +436,7 @@ export class AvatarRenderManager extends NitroManager implements IAvatarRenderMa
|
|||||||
return partSets;
|
return partSets;
|
||||||
}
|
}
|
||||||
|
|
||||||
public _Str_838(k: string, _arg_2: number): string[]
|
public getMandatoryAvatarPartSetIds(k: string, _arg_2: number): string[]
|
||||||
{
|
{
|
||||||
if(!this._structure) return null;
|
if(!this._structure) return null;
|
||||||
|
|
||||||
|
@ -18,7 +18,7 @@ export interface IAvatarRenderManager extends INitroManager
|
|||||||
getFigureClubLevel(container: IAvatarFigureContainer, gender: string, searchParts: string[]): number;
|
getFigureClubLevel(container: IAvatarFigureContainer, gender: string, searchParts: string[]): number;
|
||||||
isValidFigureSetForGender(setId: number, gender: string): boolean;
|
isValidFigureSetForGender(setId: number, gender: string): boolean;
|
||||||
getFigureStringWithFigureIds(k: string, _arg_2: string, _arg_3: number[]): string;
|
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;
|
getAssetByName(name: string): IGraphicAsset;
|
||||||
assets: IAssetManager;
|
assets: IAssetManager;
|
||||||
isReady: boolean;
|
isReady: boolean;
|
||||||
|
Loading…
Reference in New Issue
Block a user