阶段性完成

This commit is contained in:
SoulliesOfficial
2025-12-08 05:27:53 -05:00
parent ef7b479712
commit f7af60351b
8770 changed files with 15637030 additions and 208354 deletions

View File

@@ -0,0 +1,32 @@
#if LETAI_TRUESHADOW
using System;
using LeTai.TrueShadow.PluginInterfaces;
namespace LeTai.Asset.TranslucentImage
{
public partial class TranslucentImage : ITrueShadowCustomHashProviderV2
{
public event Action<int> trueShadowCustomHashChanged;
partial void UpdateTrueShadowHash()
{
trueShadowCustomHashChanged?.Invoke(
HashUtils.CombineHashCodes(
paraformConfig.CornerRadii.GetHashCode(),
(int)(paraformConfig.CornerCurvature * 100),
(int)(paraformConfig.RingThickness * 100)
)
);
}
}
}
#endif
namespace LeTai.Asset.TranslucentImage
{
public partial class TranslucentImage
{
partial void UpdateTrueShadowHash();
}
}