mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
23 lines
526 B
C#
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);
|
|
}
|
|
}
|
|
}
|