Seal/abstract/virtual everything (#6739)

This commit is contained in:
mirrorcult
2022-02-16 00:23:23 -07:00
committed by GitHub
parent 4dfcacb86a
commit ec4d4688c7
1771 changed files with 2216 additions and 2164 deletions

View File

@@ -7,7 +7,7 @@ namespace Content.Shared.DragDrop;
/// Mark this event as handled to specify that the entity can be dropped on
/// and set CanDrop to true or false, depending on whether dropping the entity onto the target is actually possible.
/// </summary>
public class CanDragDropOnEvent : HandledEntityEventArgs
public sealed class CanDragDropOnEvent : HandledEntityEventArgs
{
/// <summary>
/// Entity doing the drag and drop.

View File

@@ -9,7 +9,7 @@ namespace Content.Shared.DragDrop
/// Requests a drag / drop interaction to be performed
/// </summary>
[Serializable, NetSerializable]
public class DragDropRequestEvent : EntityEventArgs
public sealed class DragDropRequestEvent : EntityEventArgs
{
/// <summary>
/// Location that the entity was dropped.

View File

@@ -2,7 +2,7 @@
namespace Content.Shared.DragDrop
{
public class DropAttemptEvent : CancellableEntityEventArgs
public sealed class DropAttemptEvent : CancellableEntityEventArgs
{
public DropAttemptEvent(EntityUid uid)
{

View File

@@ -56,6 +56,7 @@ namespace Content.Shared.DragDrop
}
}
[Virtual]
public class StartDragDropEvent : HandledEntityEventArgs
{
/// <summary>
@@ -80,6 +81,7 @@ namespace Content.Shared.DragDrop
}
}
[Virtual]
public class CanDropEvent : StartDragDropEvent
{
/// <summary>
@@ -100,6 +102,7 @@ namespace Content.Shared.DragDrop
}
}
[Virtual]
public class DragDropEvent : CanDropEvent
{
/// <summary>