mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-16 08:25:20 +01:00
31 lines
783 B
C#
31 lines
783 B
C#
namespace MoleMole
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class EquipSkillMetaData : IHashable
|
|
{
|
|
public readonly int ID;
|
|
|
|
public readonly string skillName;
|
|
|
|
public readonly string skillDisplay;
|
|
|
|
public readonly string skillIconPath;
|
|
|
|
public EquipSkillMetaData(int ID, string skillName, string skillDisplay, string skillIconPath)
|
|
{
|
|
this.ID = ID;
|
|
this.skillName = skillName;
|
|
this.skillDisplay = skillDisplay;
|
|
this.skillIconPath = skillIconPath;
|
|
}
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
HashUtils.ContentHashOnto(ID, ref lastHash);
|
|
HashUtils.ContentHashOnto(skillName, ref lastHash);
|
|
HashUtils.ContentHashOnto(skillDisplay, ref lastHash);
|
|
HashUtils.ContentHashOnto(skillIconPath, ref lastHash);
|
|
}
|
|
}
|
|
}
|