Mark interactions as obsolete (#3902)

This commit is contained in:
metalgearsloth
2021-04-29 03:23:15 +10:00
committed by GitHub
parent 11aa6fb5a9
commit 578b767791
15 changed files with 20 additions and 1 deletions

View File

@@ -14,7 +14,10 @@ namespace Content.Shared.Interfaces.GameObjects.Components
public interface IAttack
{
// Redirects to ClickAttack by default.
[Obsolete("WideAttack")]
bool WideAttack(AttackEventArgs eventArgs) => ClickAttack(eventArgs);
[Obsolete("Use ClickAttack instead")]
bool ClickAttack(AttackEventArgs eventArgs);
}