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 @@ using Robust.Shared.GameObjects;
namespace Content.Client.Cargo.Components
{
[RegisterComponent]
public class CargoOrderDatabaseComponent : SharedCargoOrderDatabaseComponent
public sealed class CargoOrderDatabaseComponent : SharedCargoOrderDatabaseComponent
{
private readonly List<CargoOrderData> _orders = new();
@@ -22,7 +22,7 @@ namespace Content.Client.Cargo.Components
/// <summary>
/// Removes all orders from the database.
/// </summary>
public virtual void Clear()
public void Clear()
{
_orders.Clear();
}
@@ -31,7 +31,7 @@ namespace Content.Client.Cargo.Components
/// Adds an order to the database.
/// </summary>
/// <param name="order">The order to be added.</param>
public virtual void AddOrder(CargoOrderData order)
public void AddOrder(CargoOrderData order)
{
if (!_orders.Contains(order))
_orders.Add(order);