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

27 lines
715 B
C#

namespace MoleMole
{
[GeneratePartialHash(CombineGeneratedFile = true)]
public class MaterialExpBonusMetaData : IHashable
{
public readonly int materialId;
public readonly float weaponExpBonus;
public readonly float stigmataExpBonus;
public MaterialExpBonusMetaData(int materialId, float weaponExpBonus, float stigmataExpBonus)
{
this.materialId = materialId;
this.weaponExpBonus = weaponExpBonus;
this.stigmataExpBonus = stigmataExpBonus;
}
public void ObjectContentHashOnto(ref int lastHash)
{
HashUtils.ContentHashOnto(materialId, ref lastHash);
HashUtils.ContentHashOnto(weaponExpBonus, ref lastHash);
HashUtils.ContentHashOnto(stigmataExpBonus, ref lastHash);
}
}
}