mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 08:54:43 +01:00
27 lines
715 B
C#
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);
|
|
}
|
|
}
|
|
}
|