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