Seal/abstract/virtual everything (#6739)
This commit is contained in:
@@ -15,10 +15,10 @@ namespace Content.Server.Tools.Components
|
||||
/// Not to be confused with Multitool (power)
|
||||
/// </summary>
|
||||
[RegisterComponent]
|
||||
public class MultipleToolComponent : SharedMultipleToolComponent
|
||||
public sealed class MultipleToolComponent : SharedMultipleToolComponent
|
||||
{
|
||||
[DataDefinition]
|
||||
public class ToolEntry
|
||||
public sealed class ToolEntry
|
||||
{
|
||||
[DataField("behavior", required:true)]
|
||||
public PrototypeFlags<ToolQualityPrototype> Behavior { get; } = new();
|
||||
@@ -32,7 +32,7 @@ namespace Content.Server.Tools.Components
|
||||
[DataField("sprite")]
|
||||
public SpriteSpecifier? Sprite { get; } = null;
|
||||
}
|
||||
|
||||
|
||||
[DataField("entries", required:true)]
|
||||
public ToolEntry[] Entries { get; } = Array.Empty<ToolEntry>();
|
||||
|
||||
|
||||
@@ -9,7 +9,7 @@ using Robust.Shared.ViewVariables;
|
||||
namespace Content.Server.Tools.Components
|
||||
{
|
||||
[RegisterComponent, Friend(typeof(ToolSystem))]
|
||||
public class ToolComponent : Component
|
||||
public sealed class ToolComponent : Component
|
||||
{
|
||||
[DataField("qualities")]
|
||||
public PrototypeFlags<ToolQualityPrototype> Qualities { get; set; } = new();
|
||||
|
||||
@@ -10,7 +10,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
||||
namespace Content.Server.Tools.Components
|
||||
{
|
||||
[RegisterComponent]
|
||||
public class WelderComponent : SharedWelderComponent
|
||||
public sealed class WelderComponent : SharedWelderComponent
|
||||
{
|
||||
/// <summary>
|
||||
/// Solution on the entity that contains the fuel.
|
||||
@@ -56,7 +56,7 @@ namespace Content.Server.Tools.Components
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// If this is a standard welder, this damage bonus should probably subtract the entity's standard melee weapon damage
|
||||
/// and replace it all with heat damage.
|
||||
/// and replace it all with heat damage.
|
||||
/// </remarks>
|
||||
[DataField("litMeleeDamageBonus")]
|
||||
public DamageSpecifier LitMeleeDamageBonus = new();
|
||||
|
||||
Reference in New Issue
Block a user