mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 08:54:43 +01:00
23 lines
487 B
C#
23 lines
487 B
C#
namespace MoleMole
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class CabinEnginePowerMetaData : IHashable
|
|
{
|
|
public readonly int level;
|
|
|
|
public readonly int powerCost;
|
|
|
|
public CabinEnginePowerMetaData(int level, int powerCost)
|
|
{
|
|
this.level = level;
|
|
this.powerCost = powerCost;
|
|
}
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
HashUtils.ContentHashOnto(level, ref lastHash);
|
|
HashUtils.ContentHashOnto(powerCost, ref lastHash);
|
|
}
|
|
}
|
|
}
|