cleaned AvatarAnimationFrame

This commit is contained in:
Dank074 2021-05-29 19:07:07 -05:00
parent 428ae04cf6
commit 96737416ef
6 changed files with 10 additions and 10 deletions

View File

@ -941,7 +941,7 @@ export class AvatarImage implements IAvatarImage, IAvatarEffectListener
{
return;
}
if(k.definition._Str_778 == '')
if(k.definition.assetPartDefinition == '')
{
return;
}
@ -958,7 +958,7 @@ export class AvatarImage implements IAvatarImage, IAvatarEffectListener
{
if(!k) return;
if(k.definition._Str_778 === '') return;
if(k.definition.assetPartDefinition === '') return;
if(k.definition._Str_779)
{

View File

@ -73,7 +73,7 @@ export class AvatarImagePartContainer
{
const frame = this._frames[frameNumber];
return (this.partId + ':' + frame._Str_778 + ':' + frame.number);
return (this.partId + ':' + frame.assetPartDefinition + ':' + frame.number);
}
}

View File

@ -172,7 +172,7 @@ export class ActionDefinition implements IActionDefinition
return this._activePartSet;
}
public get _Str_778(): string
public get assetPartDefinition(): string
{
return this._assetPartDefinition;
}
@ -221,4 +221,4 @@ export class ActionDefinition implements IActionDefinition
{
return this._params;
}
}
}

View File

@ -7,7 +7,7 @@ export interface IActionDefinition
activePartSet: string;
_Str_779: boolean;
_Str_804: boolean;
_Str_778: string;
assetPartDefinition: string;
lay: string;
_Str_868: string;
_Str_861: boolean;
@ -17,4 +17,4 @@ export interface IActionDefinition
_Str_715(_arg_1: string): boolean;
_Str_772(_arg_1: string, _arg_2: number, _arg_3: []): void;
_Str_805(_arg_1: string, _arg_2: number): number[];
}
}

View File

@ -331,7 +331,7 @@ export class AvatarImageCache
}
const isFlipped = AvatarDirectionAngle.DIRECTION_IS_FLIPPED[direction] || false;
let assetPartDefinition = _arg_4.definition._Str_778;
let assetPartDefinition = _arg_4.definition.assetPartDefinition;
let isCacheable = true;
let containerIndex = (containers.length - 1);
@ -355,7 +355,7 @@ export class AvatarImageCache
{
frameNumber = animationFrame.number;
if((animationFrame._Str_778) && (animationFrame._Str_778 !== '')) assetPartDefinition = animationFrame._Str_778;
if((animationFrame.assetPartDefinition) && (animationFrame.assetPartDefinition !== '')) assetPartDefinition = animationFrame.assetPartDefinition;
}
else frameNumber = container.getFrameIndex(frameCount);

View File

@ -14,7 +14,7 @@ export class AvatarAnimationFrame
return this._number;
}
public get _Str_778(): string
public get assetPartDefinition(): string
{
return this._assetPartDefinition;
}