explicit interface go brrrr

This commit is contained in:
Paul
2021-02-04 17:44:49 +01:00
parent 5f6d2d50ba
commit d5cd82de60
148 changed files with 285 additions and 206 deletions

View File

@@ -12,9 +12,9 @@ namespace Content.Server.GameObjects.Components.Interactable
{
public override string Name => "Matchbox";
public int Priority => 1;
int IInteractUsing.Priority => 1;
public async Task<bool> InteractUsing(InteractUsingEventArgs eventArgs)
async Task<bool> IInteractUsing.InteractUsing(InteractUsingEventArgs eventArgs)
{
if (eventArgs.Using.TryGetComponent<MatchstickComponent>(out var matchstick)
&& matchstick.CurrentState == SharedBurningStates.Unlit)
@@ -26,4 +26,4 @@ namespace Content.Server.GameObjects.Components.Interactable
return false;
}
}
}
}