Make all prototype types partial (#21374)

This commit is contained in:
DrSmugleaf
2023-11-01 19:56:23 -07:00
committed by GitHub
parent aa0c3b64ea
commit 2d58d19b07
105 changed files with 111 additions and 126 deletions

View File

@@ -1,10 +1,10 @@
namespace Content.Shared.Chat.Prototypes;
using Robust.Shared.Prototypes;
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototype;
namespace Content.Shared.Chat.Prototypes;
[Prototype("autoEmote")]
public sealed class AutoEmotePrototype : IPrototype
public sealed partial class AutoEmotePrototype : IPrototype
{
/// <inheritdoc/>
[IdDataField]

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.Chat.Prototypes;
/// Entities can activate emotes by chat input or code.
/// </summary>
[Prototype("emote")]
public sealed class EmotePrototype : IPrototype
public sealed partial class EmotePrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;

View File

@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
/// Different entities may use different sounds collections.
/// </summary>
[Prototype("emoteSounds")]
public sealed class EmoteSoundsPrototype : IPrototype
public sealed partial class EmoteSoundsPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;

View File

@@ -8,7 +8,7 @@ namespace Content.Shared.Chat.TypingIndicator;
/// Prototype to store chat typing indicator visuals.
/// </summary>
[Prototype("typingIndicator")]
public sealed class TypingIndicatorPrototype : IPrototype
public sealed partial class TypingIndicatorPrototype : IPrototype
{
[IdDataField]
public string ID { get; private set; } = default!;