mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 08:54:43 +01:00
24 lines
727 B
C#
24 lines
727 B
C#
namespace MoleMole.Config
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class AvatarTiedMixin : ConfigAbilityMixin, IHashable
|
|
{
|
|
public DynamicFloat UntieSteerAmount;
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
if (UntieSteerAmount != null)
|
|
{
|
|
HashUtils.ContentHashOnto(UntieSteerAmount.isDynamic, ref lastHash);
|
|
HashUtils.ContentHashOnto(UntieSteerAmount.fixedValue, ref lastHash);
|
|
HashUtils.ContentHashOnto(UntieSteerAmount.dynamicKey, ref lastHash);
|
|
}
|
|
}
|
|
|
|
public override BaseAbilityMixin CreateInstancedMixin(ActorAbility instancedAbility, ActorModifier instancedModifier)
|
|
{
|
|
return new AbilityAvatarTiedMixin(instancedAbility, instancedModifier, this);
|
|
}
|
|
}
|
|
}
|