2023-08-06 21:56:20 -04:00

14 lines
381 B
C#

using AssetRipper.Checksum;
using AssetRipper.SourceGenerated.Subclasses.MeshBlendShape;
namespace AssetRipper.SourceGenerated.Extensions
{
public static class MeshBlendShapeExtensions
{
public static bool IsCRCMatch(this IMeshBlendShape blendShape, uint crc)
{
return blendShape.Name_R is not null && Crc32Algorithm.MatchUTF8(blendShape.Name_R.String, crc);
}
}
}