Files
BH3/Assets/Plugins/Assembly-CSharp-firstpass/MoleMole/MaterialVentureSpeedUpData.cs
2025-08-13 09:26:42 +08:00

23 lines
526 B
C#

namespace MoleMole
{
[GeneratePartialHash(CombineGeneratedFile = true)]
public class MaterialVentureSpeedUpData : IHashable
{
public readonly int MaterialID;
public readonly int SpeedUpTime;
public MaterialVentureSpeedUpData(int MaterialID, int SpeedUpTime)
{
this.MaterialID = MaterialID;
this.SpeedUpTime = SpeedUpTime;
}
public void ObjectContentHashOnto(ref int lastHash)
{
HashUtils.ContentHashOnto(MaterialID, ref lastHash);
HashUtils.ContentHashOnto(SpeedUpTime, ref lastHash);
}
}
}