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.IoC;
namespace Content.Server.AI.Operators.Combat.Melee
{
public class SwingMeleeWeaponOperator : AiOperator
public sealed class SwingMeleeWeaponOperator : AiOperator
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -1,6 +1,6 @@
namespace Content.Server.AI.Operators.Generic
{
public class WaitOperator : AiOperator
public sealed class WaitOperator : AiOperator
{
private readonly float _waitTime;
private float _accumulatedTime = 0.0f;

View File

@@ -4,7 +4,7 @@ using Robust.Shared.IoC;
namespace Content.Server.AI.Operators.Inventory
{
public class DropEntityOperator : AiOperator
public sealed class DropEntityOperator : AiOperator
{
private readonly EntityUid _owner;
private readonly EntityUid _entity;

View File

@@ -4,7 +4,7 @@ using Robust.Shared.IoC;
namespace Content.Server.AI.Operators.Inventory
{
public class DropHandItemsOperator : AiOperator
public sealed class DropHandItemsOperator : AiOperator
{
private readonly EntityUid _owner;

View File

@@ -9,7 +9,7 @@ namespace Content.Server.AI.Operators.Inventory
/// <summary>
/// A Generic interacter; if you need to check stuff then make your own
/// </summary>
public class InteractWithEntityOperator : AiOperator
public sealed class InteractWithEntityOperator : AiOperator
{
[Dependency] private readonly IEntityManager _entMan = default!;

View File

@@ -8,7 +8,7 @@ using Robust.Shared.IoC;
namespace Content.Server.AI.Operators.Inventory
{
public class PickupEntityOperator : AiOperator
public sealed class PickupEntityOperator : AiOperator
{
// Input variables
private readonly EntityUid _owner;

View File

@@ -8,7 +8,7 @@ namespace Content.Server.AI.Operators.Inventory
/// <summary>
/// Will find the item in storage, put it in an active hand, then use it
/// </summary>
public class UseItemInInventoryOperator : AiOperator
public sealed class UseItemInInventoryOperator : AiOperator
{
private readonly EntityUid _owner;
private readonly EntityUid _target;

View File

@@ -9,7 +9,7 @@ using Robust.Shared.Random;
namespace Content.Server.AI.Operators.Nutrition
{
public class UseDrinkInInventoryOperator : AiOperator
public sealed class UseDrinkInInventoryOperator : AiOperator
{
private readonly EntityUid _owner;
private readonly EntityUid _target;

View File

@@ -8,7 +8,7 @@ using Robust.Shared.Random;
namespace Content.Server.AI.Operators.Nutrition
{
public class UseFoodInInventoryOperator : AiOperator
public sealed class UseFoodInInventoryOperator : AiOperator
{
private readonly EntityUid _owner;
private readonly EntityUid _target;

View File

@@ -5,7 +5,7 @@ using Robust.Shared.GameObjects;
namespace Content.Server.AI.Operators.Sequences
{
public class GoPickupEntitySequence : SequenceOperator
public sealed class GoPickupEntitySequence : SequenceOperator
{
public GoPickupEntitySequence(EntityUid owner, EntityUid target)
{