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

27 lines
781 B
C#

namespace MoleMole
{
[GeneratePartialHash(CombineGeneratedFile = true)]
public class AvatarDefencePunishMetaData : IHashable
{
public readonly int LevelDifference;
public readonly float DamageIncreaseRate;
public readonly float AttackRatioIncrease;
public AvatarDefencePunishMetaData(int LevelDifference, float DamageIncreaseRate, float AttackRatioIncrease)
{
this.LevelDifference = LevelDifference;
this.DamageIncreaseRate = DamageIncreaseRate;
this.AttackRatioIncrease = AttackRatioIncrease;
}
public void ObjectContentHashOnto(ref int lastHash)
{
HashUtils.ContentHashOnto(LevelDifference, ref lastHash);
HashUtils.ContentHashOnto(DamageIncreaseRate, ref lastHash);
HashUtils.ContentHashOnto(AttackRatioIncrease, ref lastHash);
}
}
}