LEGO Fortnite JIDO Emote Support (#455)

* LEGO Fortnite JIDO Emote Support

* LEGO Fortnite JIDO Emote Support

Might be a better way of doing this but if it fits it sits.
This commit is contained in:
FireMonkey 2024-02-22 16:06:30 -05:00 committed by GitHub
parent 5e6765f4b0
commit 53bb6e1f90
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View File

@ -1,4 +1,4 @@
using CUE4Parse.UE4.Assets.Exports;
using CUE4Parse.UE4.Assets.Exports;
using CUE4Parse.UE4.Assets.Objects;
using CUE4Parse.UE4.Objects.UObject;
using SkiaSharp;
@ -36,6 +36,13 @@ public class BaseJuno : BaseIcon
}
}
}
if (Object.TryGetValue(out FSoftObjectPath baseEid, "BaseAthenaDanceItemDefinition") &&
Utils.TryLoadObject(baseEid.AssetPathName.Text, out UObject eid))
{
_character = new BaseIcon(eid, Style);
_character.ParseForInfo();
}
}
public override SKBitmap[] Draw() => _character.Draw();

View File

@ -137,6 +137,7 @@ public class CreatorPackage : IDisposable
};
return true;
case "JunoAthenaCharacterItemOverrideDefinition":
case "JunoAthenaDanceItemOverrideDefinition":
creator = new BaseJuno(_object, _style);
return true;
case "FortTandemCharacterData":