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

@@ -14,7 +14,7 @@ namespace Content.Client.GameObjects.Components.Body
return true;
}
public bool CanDrop(CanDropEventArgs args)
bool IDraggable.CanDrop(CanDropEventArgs args)
{
return true;
}

View File

@@ -134,7 +134,7 @@ namespace Content.Client.GameObjects.Components
public static DirBoundData Default { get; } = new();
public void ExposeData(ObjectSerializer serializer)
void IExposeData.ExposeData(ObjectSerializer serializer)
{
serializer.DataField(ref All, "all", default);
serializer.DataField(ref North, "north", default);

View File

@@ -91,7 +91,7 @@ namespace Content.Client.GameObjects.Components.Items
return args.Target.HasComponent<DisposalUnitComponent>();
}
public bool Drop(DragDropEventArgs args)
bool IDraggable.Drop(DragDropEventArgs args)
{
// TODO: Shared item class
return false;