Make all prototype types partial (#21374)
This commit is contained in:
@@ -8,7 +8,7 @@ namespace Content.Shared.Roles;
|
||||
/// </summary>
|
||||
[Prototype("antag")]
|
||||
[Serializable, NetSerializable]
|
||||
public sealed class AntagPrototype : IPrototype
|
||||
public sealed partial class AntagPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[IdDataField]
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
using System.Linq;
|
||||
using Robust.Shared.Prototypes;
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype.List;
|
||||
|
||||
namespace Content.Shared.Roles;
|
||||
|
||||
[Prototype("department")]
|
||||
public sealed class DepartmentPrototype : IPrototype
|
||||
public sealed partial class DepartmentPrototype : IPrototype
|
||||
{
|
||||
[IdDataField] public string ID { get; } = default!;
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Roles
|
||||
/// Describes information for a single job on the station.
|
||||
/// </summary>
|
||||
[Prototype("job")]
|
||||
public sealed class JobPrototype : IPrototype
|
||||
public sealed partial class JobPrototype : IPrototype
|
||||
{
|
||||
[ViewVariables]
|
||||
[IdDataField]
|
||||
|
||||
@@ -4,7 +4,7 @@ using Robust.Shared.Prototypes;
|
||||
namespace Content.Shared.Roles
|
||||
{
|
||||
[Prototype("startingGear")]
|
||||
public sealed class StartingGearPrototype : IPrototype
|
||||
public sealed partial class StartingGearPrototype : IPrototype
|
||||
{
|
||||
[DataField]
|
||||
public Dictionary<string, EntProtoId> Equipment = new();
|
||||
|
||||
Reference in New Issue
Block a user