mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 00:44:49 +01:00
22 lines
628 B
C#
22 lines
628 B
C#
namespace MoleMole.Config
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class BanAvatarSkillButtonMixin : ConfigAbilityMixin, IHashable
|
|
{
|
|
public string SkillID;
|
|
|
|
public string ReplaceButtonIconPath;
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
HashUtils.ContentHashOnto(SkillID, ref lastHash);
|
|
HashUtils.ContentHashOnto(ReplaceButtonIconPath, ref lastHash);
|
|
}
|
|
|
|
public override BaseAbilityMixin CreateInstancedMixin(ActorAbility instancedAbility, ActorModifier instancedModifier)
|
|
{
|
|
return new AbilityBanAvatarSkillButtonMixin(instancedAbility, instancedModifier, this);
|
|
}
|
|
}
|
|
}
|