feat: more maps

This commit is contained in:
tresabhi committed 2025-04-02 16:00:18 -05:00
1 parent b2684e3152
commit ed5d2e3ff4
4 files changed
+12 -9

No files matched your search

+5
View File
@@ -40,6 +40,11 @@ namespace BlitzKit.CLI.Functions
(HttpContext context, string id) => Octet(context, mangler.Tank(id))
);
app.MapGet(
"/tanks/{id}/icons/big.pb",
(HttpContext context, string id) => Octet(context, mangler.TankIconBig(id))
);
app.Run();
}
}
+2 -2
View File
@@ -1,8 +1,8 @@
using Blitzkit;
using CUE4Parse_Conversion.Textures;
using CUE4Parse.UE4.Assets.Exports.Texture;
using CUE4Parse.UE4.Assets.Objects;
using CUE4Parse.UE4.Objects.Core.Math;
using SkiaSharp;
namespace BlitzKit.CLI.Utils
{
@@ -14,7 +14,7 @@ namespace BlitzKit.CLI.Utils
{
return texture
.Decode(ETexturePlatform.DesktopMobile)!
.Encode(ETextureFormat.Png, 100)
.Encode(SKEncodedImageFormat.Webp, 100)
.ToArray();
}