mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-17 00:44:49 +01:00
19 lines
593 B
C#
19 lines
593 B
C#
namespace MoleMole.Config
|
|
{
|
|
[GeneratePartialHash(CombineGeneratedFile = true)]
|
|
public class ByControlDataHasSteer : ConfigAbilityPredicate, IHashable
|
|
{
|
|
public bool HasSteer = true;
|
|
|
|
public void ObjectContentHashOnto(ref int lastHash)
|
|
{
|
|
HashUtils.ContentHashOnto(HasSteer, ref lastHash);
|
|
}
|
|
|
|
public override bool Call(ActorAbilityPlugin abilityPlugin, ActorAbility instancedAbility, ActorModifier instancedModifier, BaseAbilityActor target, BaseEvent evt)
|
|
{
|
|
return abilityPlugin.ByControlDataHasSteerHandler(this, instancedAbility, instancedModifier, target, evt);
|
|
}
|
|
}
|
|
}
|