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