mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-18 01:14:59 +01:00
25 lines
727 B
C#
25 lines
727 B
C#
namespace MoleMole.Config
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class AttachModifierToAnimatorBooleanMixin : ConfigAbilityMixin, IHashable
|
|
{
|
|
public string AnimatorBoolean;
|
|
|
|
public string ModifierName;
|
|
|
|
public bool IsInvert;
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
HashUtils.ContentHashOnto(AnimatorBoolean, ref lastHash);
|
|
HashUtils.ContentHashOnto(ModifierName, ref lastHash);
|
|
HashUtils.ContentHashOnto(IsInvert, ref lastHash);
|
|
}
|
|
|
|
public override BaseAbilityMixin CreateInstancedMixin(ActorAbility instancedAbility, ActorModifier instancedModifier)
|
|
{
|
|
return new AbilityAttachModifierToAnimatorBooleanMixin(instancedAbility, instancedModifier, this);
|
|
}
|
|
}
|
|
}
|