Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -7,7 +7,7 @@ namespace Content.Shared.Throwing
|
||||
/// Raised when throwing the entity in your hands.
|
||||
/// </summary>
|
||||
[PublicAPI]
|
||||
public class ThrownEvent : HandledEntityEventArgs
|
||||
public sealed class ThrownEvent : HandledEntityEventArgs
|
||||
{
|
||||
/// <summary>
|
||||
/// Entity that threw the item.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace Content.Shared.Throwing
|
||||
{
|
||||
public class ThrowAttemptEvent : CancellableEntityEventArgs
|
||||
public sealed class ThrowAttemptEvent : CancellableEntityEventArgs
|
||||
{
|
||||
public ThrowAttemptEvent(EntityUid uid)
|
||||
{
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace Content.Shared.Throwing
|
||||
/// <summary>
|
||||
/// Raised directed on the target entity being hit by the thrown entity.
|
||||
/// </summary>
|
||||
public class ThrowHitByEvent : ThrowEvent
|
||||
public sealed class ThrowHitByEvent : ThrowEvent
|
||||
{
|
||||
public ThrowHitByEvent(EntityUid? user, EntityUid thrown, EntityUid target) : base(user, thrown, target)
|
||||
{
|
||||
@@ -46,7 +46,7 @@ namespace Content.Shared.Throwing
|
||||
/// <summary>
|
||||
/// Raised directed on the thrown entity that hits another.
|
||||
/// </summary>
|
||||
public class ThrowDoHitEvent : ThrowEvent
|
||||
public sealed class ThrowDoHitEvent : ThrowEvent
|
||||
{
|
||||
public ThrowDoHitEvent(EntityUid? user, EntityUid thrown, EntityUid target) : base(user, thrown, target)
|
||||
{
|
||||
|
||||
@@ -6,13 +6,13 @@ using Robust.Shared.Serialization;
|
||||
namespace Content.Shared.Throwing
|
||||
{
|
||||
[RegisterComponent, NetworkedComponent]
|
||||
public class ThrownItemComponent : Component
|
||||
public sealed class ThrownItemComponent : Component
|
||||
{
|
||||
public EntityUid? Thrower { get; set; }
|
||||
}
|
||||
|
||||
[Serializable, NetSerializable]
|
||||
public class ThrownItemComponentState : ComponentState
|
||||
public sealed class ThrownItemComponentState : ComponentState
|
||||
{
|
||||
public EntityUid? Thrower { get; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user