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

@@ -20,7 +20,7 @@ namespace Content.Shared.Item
/// Players can pick up, drop, and put items in bags, and they can be seen in player's hands.
/// </summary>
[NetworkedComponent()]
public class SharedItemComponent : Component, IInteractHand
public abstract class SharedItemComponent : Component, IInteractHand
{
[Dependency] private readonly IEntityManager _entMan = default!;
@@ -136,7 +136,7 @@ namespace Content.Shared.Item
}
[Serializable, NetSerializable]
public class ItemComponentState : ComponentState
public sealed class ItemComponentState : ComponentState
{
public int Size { get; }
public string? EquippedPrefix { get; }
@@ -157,7 +157,7 @@ namespace Content.Shared.Item
/// that it can properly update its sprite/GUI.
/// </summary>
[Serializable, NetSerializable]
public class ItemPrefixChangeEvent : EntityEventArgs
public sealed class ItemPrefixChangeEvent : EntityEventArgs
{
public readonly EntityUid Item;
public readonly string ContainerId;