Cleanup: Remove redundant prototype name specifications (#35793)
* Remove redundant prototype name specifications * These can stay
This commit is contained in:
@@ -5,7 +5,7 @@ namespace Content.Client.Parallax.Data;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype data for a parallax.
|
/// Prototype data for a parallax.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("parallax")]
|
[Prototype]
|
||||||
public sealed partial class ParallaxPrototype : IPrototype
|
public sealed partial class ParallaxPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Server.Announcements;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used for any announcements on the start of a round.
|
/// Used for any announcements on the start of a round.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("roundAnnouncement")]
|
[Prototype]
|
||||||
public sealed partial class RoundAnnouncementPrototype : IPrototype
|
public sealed partial class RoundAnnouncementPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Server.Atmos.Reactions
|
namespace Content.Server.Atmos.Reactions
|
||||||
{
|
{
|
||||||
[Prototype("gasReaction")]
|
[Prototype]
|
||||||
public sealed partial class GasReactionPrototype : IPrototype
|
public sealed partial class GasReactionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Server.Botany;
|
namespace Content.Server.Botany;
|
||||||
|
|
||||||
[Prototype("seed")]
|
[Prototype]
|
||||||
public sealed partial class SeedPrototype : SeedData, IPrototype
|
public sealed partial class SeedPrototype : SeedData, IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ namespace Content.Server.Connection.Whitelist;
|
|||||||
/// Next means the next condition in the list is checked.
|
/// Next means the next condition in the list is checked.
|
||||||
/// If the condition doesn't match, the next condition is checked.
|
/// If the condition doesn't match, the next condition is checked.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("playerConnectionWhitelist")]
|
[Prototype]
|
||||||
public sealed partial class PlayerConnectionWhitelistPrototype : IPrototype
|
public sealed partial class PlayerConnectionWhitelistPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Server.GameTicking.Presets
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A round-start setup preset, such as which antagonists to spawn.
|
/// A round-start setup preset, such as which antagonists to spawn.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("gamePreset")]
|
[Prototype]
|
||||||
public sealed partial class GamePresetPrototype : IPrototype
|
public sealed partial class GamePresetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Server.GameTicking.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype for a lobby background the game can choose.
|
/// Prototype for a lobby background the game can choose.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("lobbyBackground")]
|
[Prototype]
|
||||||
public sealed partial class LobbyBackgroundPrototype : IPrototype
|
public sealed partial class LobbyBackgroundPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Server.Ghost.Roles.Raffles;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Allows getting a <see cref="IGhostRoleRaffleDecider"/> as prototype.
|
/// Allows getting a <see cref="IGhostRoleRaffleDecider"/> as prototype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("ghostRoleRaffleDecider")]
|
[Prototype]
|
||||||
public sealed partial class GhostRoleRaffleDeciderPrototype : IPrototype
|
public sealed partial class GhostRoleRaffleDeciderPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Server.Holiday
|
namespace Content.Server.Holiday
|
||||||
{
|
{
|
||||||
[Prototype("holiday")]
|
[Prototype]
|
||||||
public sealed partial class HolidayPrototype : IPrototype
|
public sealed partial class HolidayPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[DataField("name")] public string Name { get; private set; } = string.Empty;
|
[DataField("name")] public string Name { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Server.Maps;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar.
|
/// Prototype that holds a pool of maps that can be indexed based on the map pool CCVar.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("gameMapPool"), PublicAPI]
|
[Prototype, PublicAPI]
|
||||||
public sealed partial class GameMapPoolPrototype : IPrototype
|
public sealed partial class GameMapPoolPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ namespace Content.Server.Maps;
|
|||||||
/// Forks should not directly edit existing parts of this class.
|
/// Forks should not directly edit existing parts of this class.
|
||||||
/// Make a new partial for your fancy new feature, it'll save you time later.
|
/// Make a new partial for your fancy new feature, it'll save you time later.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Prototype("gameMap"), PublicAPI]
|
[Prototype, PublicAPI]
|
||||||
[DebuggerDisplay("GameMapPrototype [{ID} - {MapName}]")]
|
[DebuggerDisplay("GameMapPrototype [{ID} - {MapName}]")]
|
||||||
public sealed partial class GameMapPrototype : IPrototype
|
public sealed partial class GameMapPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Server.NPC.Queries.Curves;
|
namespace Content.Server.NPC.Queries.Curves;
|
||||||
|
|
||||||
[Prototype("utilityCurvePreset")]
|
[Prototype]
|
||||||
public sealed partial class UtilityCurvePresetPrototype : IPrototype
|
public sealed partial class UtilityCurvePresetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Server.NPC.Queries;
|
|||||||
/// Each query is run in turn to get the final available results.
|
/// Each query is run in turn to get the final available results.
|
||||||
/// These results are then run through the considerations.
|
/// These results are then run through the considerations.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("utilityQuery")]
|
[Prototype]
|
||||||
public sealed partial class UtilityQueryPrototype : IPrototype
|
public sealed partial class UtilityQueryPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Content.Server.Wires;
|
|||||||
/// wires. Once one of these is initialized, it should be stored in the
|
/// wires. Once one of these is initialized, it should be stored in the
|
||||||
/// WiresSystem as a functional wire set.
|
/// WiresSystem as a functional wire set.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("wireLayout")]
|
[Prototype]
|
||||||
public sealed partial class WireLayoutPrototype : IPrototype, IInheritingPrototype
|
public sealed partial class WireLayoutPrototype : IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ public class NoiseChannelConfig
|
|||||||
public float Minimum { get; private set; }
|
public float Minimum { get; private set; }
|
||||||
}
|
}
|
||||||
|
|
||||||
[Prototype("noiseChannel")]
|
[Prototype]
|
||||||
public sealed partial class NoiseChannelPrototype : NoiseChannelConfig, IPrototype, IInheritingPrototype
|
public sealed partial class NoiseChannelPrototype : NoiseChannelConfig, IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Server.Worldgen.Prototypes;
|
|||||||
/// This is a prototype for controlling overall world generation.
|
/// This is a prototype for controlling overall world generation.
|
||||||
/// The components included are applied to the map that world generation is configured on.
|
/// The components included are applied to the map that world generation is configured on.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("worldgenConfig")]
|
[Prototype]
|
||||||
public sealed partial class WorldgenConfigPrototype : IPrototype
|
public sealed partial class WorldgenConfigPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Access;
|
|||||||
/// Contains a list of access tags that are part of this group.
|
/// Contains a list of access tags that are part of this group.
|
||||||
/// Used by <see cref="AccessComponent"/> to avoid boilerplate.
|
/// Used by <see cref="AccessComponent"/> to avoid boilerplate.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("accessGroup")]
|
[Prototype]
|
||||||
public sealed partial class AccessGroupPrototype : IPrototype
|
public sealed partial class AccessGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Access
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines a single access level that can be stored on ID cards and checked for.
|
/// Defines a single access level that can be stored on ID cards and checked for.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("accessLevel")]
|
[Prototype]
|
||||||
public sealed partial class AccessLevelPrototype : IPrototype
|
public sealed partial class AccessLevelPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
|
|
||||||
namespace Content.Shared.Atmos.Prototypes
|
namespace Content.Shared.Atmos.Prototypes
|
||||||
{
|
{
|
||||||
[Prototype("gas")]
|
[Prototype]
|
||||||
public sealed partial class GasPrototype : IPrototype
|
public sealed partial class GasPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[DataField("name")] public string Name { get; set; } = "";
|
[DataField("name")] public string Name { get; set; } = "";
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Audio;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Attaches a rules prototype to sound files to play ambience.
|
/// Attaches a rules prototype to sound files to play ambience.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("ambientMusic")]
|
[Prototype]
|
||||||
public sealed partial class AmbientMusicPrototype : IPrototype
|
public sealed partial class AmbientMusicPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Body.Prototypes;
|
namespace Content.Shared.Body.Prototypes;
|
||||||
|
|
||||||
[Prototype("body")]
|
[Prototype]
|
||||||
public sealed partial class BodyPrototype : IPrototype
|
public sealed partial class BodyPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Body.Prototypes
|
namespace Content.Shared.Body.Prototypes
|
||||||
{
|
{
|
||||||
[Prototype("metabolismGroup")]
|
[Prototype]
|
||||||
public sealed partial class MetabolismGroupPrototype : IPrototype
|
public sealed partial class MetabolismGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Body.Prototypes
|
namespace Content.Shared.Body.Prototypes
|
||||||
{
|
{
|
||||||
[Prototype("metabolizerType")]
|
[Prototype]
|
||||||
public sealed partial class MetabolizerTypePrototype : IPrototype
|
public sealed partial class MetabolizerTypePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
|
|
||||||
namespace Content.Shared.Chat.Prototypes;
|
namespace Content.Shared.Chat.Prototypes;
|
||||||
|
|
||||||
[Prototype("autoEmote")]
|
[Prototype]
|
||||||
public sealed partial class AutoEmotePrototype : IPrototype
|
public sealed partial class AutoEmotePrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
|
|||||||
/// IC emotes (scream, smile, clapping, etc).
|
/// IC emotes (scream, smile, clapping, etc).
|
||||||
/// Entities can activate emotes by chat input, radial or code.
|
/// Entities can activate emotes by chat input, radial or code.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("emote")]
|
[Prototype]
|
||||||
public sealed partial class EmotePrototype : IPrototype
|
public sealed partial class EmotePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Chat.Prototypes;
|
|||||||
/// Sounds collection for each <see cref="EmotePrototype"/>.
|
/// Sounds collection for each <see cref="EmotePrototype"/>.
|
||||||
/// Different entities may use different sounds collections.
|
/// Different entities may use different sounds collections.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("emoteSounds"), Serializable, NetSerializable]
|
[Prototype, Serializable, NetSerializable]
|
||||||
public sealed partial class EmoteSoundsPrototype : IPrototype
|
public sealed partial class EmoteSoundsPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Chat.TypingIndicator;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype to store chat typing indicator visuals.
|
/// Prototype to store chat typing indicator visuals.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("typingIndicator")]
|
[Prototype]
|
||||||
public sealed partial class TypingIndicatorPrototype : IPrototype
|
public sealed partial class TypingIndicatorPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Chemistry.Dispenser
|
|||||||
/// to define which reagents it's able to dispense. Based off of how vending
|
/// to define which reagents it's able to dispense. Based off of how vending
|
||||||
/// machines define their inventory.
|
/// machines define their inventory.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Serializable, NetSerializable, Prototype("reagentDispenserInventory")]
|
[Serializable, NetSerializable, Prototype]
|
||||||
public sealed partial class ReagentDispenserInventoryPrototype : IPrototype
|
public sealed partial class ReagentDispenserInventoryPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[DataField("inventory", customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
[DataField("inventory", customTypeSerializer: typeof(PrototypeIdListSerializer<EntityPrototype>))]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Chemistry.Reaction;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is a prototype for a method of chemical mixing, to be used by <see cref="ReactionMixerComponent"/>
|
/// This is a prototype for a method of chemical mixing, to be used by <see cref="ReactionMixerComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("mixingCategory")]
|
[Prototype]
|
||||||
public sealed partial class MixingCategoryPrototype : IPrototype
|
public sealed partial class MixingCategoryPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Chemistry.Reaction
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype for chemical reaction definitions
|
/// Prototype for chemical reaction definitions
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("reaction")]
|
[Prototype]
|
||||||
public sealed partial class ReactionPrototype : IPrototype, IComparable<ReactionPrototype>
|
public sealed partial class ReactionPrototype : IPrototype, IComparable<ReactionPrototype>
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Content.Shared.Chemistry.Reaction;
|
namespace Content.Shared.Chemistry.Reaction;
|
||||||
|
|
||||||
[Prototype("reactiveGroup")]
|
[Prototype]
|
||||||
public sealed partial class ReactiveGroupPrototype : IPrototype
|
public sealed partial class ReactiveGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -20,7 +20,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Chemistry.Reagent
|
namespace Content.Shared.Chemistry.Reagent
|
||||||
{
|
{
|
||||||
[Prototype("reagent")]
|
[Prototype]
|
||||||
[DataDefinition]
|
[DataDefinition]
|
||||||
public sealed partial class ReagentPrototype : IPrototype, IInheritingPrototype
|
public sealed partial class ReagentPrototype : IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -29,7 +29,7 @@ public sealed partial class CommsHackerComponent : Component
|
|||||||
/// Generally some kind of mid-round minor antag, though you could make it call in scrubber backflow if you wanted to.
|
/// Generally some kind of mid-round minor antag, though you could make it call in scrubber backflow if you wanted to.
|
||||||
/// You wouldn't do that, right?
|
/// You wouldn't do that, right?
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("ninjaHackingThreat")]
|
[Prototype]
|
||||||
public sealed partial class NinjaHackingThreatPrototype : IPrototype
|
public sealed partial class NinjaHackingThreatPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization;
|
|||||||
|
|
||||||
namespace Content.Shared.Construction.Prototypes
|
namespace Content.Shared.Construction.Prototypes
|
||||||
{
|
{
|
||||||
[Prototype("constructionGraph")]
|
[Prototype]
|
||||||
public sealed partial class ConstructionGraphPrototype : IPrototype, ISerializationHooks
|
public sealed partial class ConstructionGraphPrototype : IPrototype, ISerializationHooks
|
||||||
{
|
{
|
||||||
private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
|
private readonly Dictionary<string, ConstructionGraphNode> _nodes = new();
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Construction.Prototypes;
|
namespace Content.Shared.Construction.Prototypes;
|
||||||
|
|
||||||
[Prototype("construction")]
|
[Prototype]
|
||||||
public sealed partial class ConstructionPrototype : IPrototype
|
public sealed partial class ConstructionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[DataField("conditions")] private List<IConstructionCondition> _conditions = new();
|
[DataField("conditions")] private List<IConstructionCondition> _conditions = new();
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.Prototypes
|
|||||||
/// and damage groups. Currently this is only used to specify what damage types a <see
|
/// and damage groups. Currently this is only used to specify what damage types a <see
|
||||||
/// cref="DamageableComponent"/> should support.
|
/// cref="DamageableComponent"/> should support.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Prototype("damageContainer")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class DamageContainerPrototype : IPrototype
|
public sealed partial class DamageContainerPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace Content.Shared.Damage.Prototypes
|
|||||||
/// These groups can be used to specify supported damage types of a <see cref="DamageContainerPrototype"/>, or
|
/// These groups can be used to specify supported damage types of a <see cref="DamageContainerPrototype"/>, or
|
||||||
/// to change/get/set damage in a <see cref="DamageableComponent"/>.
|
/// to change/get/set damage in a <see cref="DamageableComponent"/>.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Prototype("damageGroup", 2)]
|
[Prototype(2)]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class DamageGroupPrototype : IPrototype
|
public sealed partial class DamageGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ namespace Content.Shared.Damage.Prototypes
|
|||||||
/// Done to avoid removing the 'required' tag on the ID and passing around a 'prototype' when we really
|
/// Done to avoid removing the 'required' tag on the ID and passing around a 'prototype' when we really
|
||||||
/// just want normal data to be deserialized.
|
/// just want normal data to be deserialized.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Prototype("damageModifierSet")]
|
[Prototype]
|
||||||
public sealed partial class DamageModifierSetPrototype : DamageModifierSet, IPrototype
|
public sealed partial class DamageModifierSetPrototype : DamageModifierSet, IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Damage.Prototypes
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
|
/// A single damage type. These types are grouped together in <see cref="DamageGroupPrototype"/>s.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("damageType")]
|
[Prototype]
|
||||||
public sealed partial class DamageTypePrototype : IPrototype
|
public sealed partial class DamageTypePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Damage.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Prototype for examinable damage messages.
|
/// Prototype for examinable damage messages.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("examinableDamage")]
|
[Prototype]
|
||||||
public sealed partial class ExaminableDamagePrototype : IPrototype
|
public sealed partial class ExaminableDamagePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Content.Shared.Dataset
|
namespace Content.Shared.Dataset
|
||||||
{
|
{
|
||||||
[Prototype("dataset")]
|
[Prototype]
|
||||||
public sealed partial class DatasetPrototype : IPrototype
|
public sealed partial class DatasetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Decals
|
namespace Content.Shared.Decals
|
||||||
{
|
{
|
||||||
[Prototype("decal")]
|
[Prototype]
|
||||||
public sealed partial class DecalPrototype : IPrototype, IInheritingPrototype
|
public sealed partial class DecalPrototype : IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = null!;
|
[IdDataField] public string ID { get; private set; } = null!;
|
||||||
|
|||||||
@@ -27,13 +27,13 @@ public abstract class DevicePortPrototype
|
|||||||
public string Description = default!;
|
public string Description = default!;
|
||||||
}
|
}
|
||||||
|
|
||||||
[Prototype("sinkPort")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class SinkPortPrototype : DevicePortPrototype, IPrototype
|
public sealed partial class SinkPortPrototype : DevicePortPrototype, IPrototype
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
[Prototype("sourcePort")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class SourcePortPrototype : DevicePortPrototype, IPrototype
|
public sealed partial class SourcePortPrototype : DevicePortPrototype, IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.DeviceNetwork;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A named device network frequency. Useful for ensuring entity prototypes can communicate with each other.
|
/// A named device network frequency. Useful for ensuring entity prototypes can communicate with each other.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("deviceFrequency")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class DeviceFrequencyPrototype : IPrototype
|
public sealed partial class DeviceFrequencyPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
|
|
||||||
namespace Content.Shared.EntityList
|
namespace Content.Shared.EntityList
|
||||||
{
|
{
|
||||||
[Prototype("entityList")]
|
[Prototype]
|
||||||
public sealed partial class EntityListPrototype : IPrototype
|
public sealed partial class EntityListPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Random;
|
|||||||
|
|
||||||
namespace Content.Shared.EntityList;
|
namespace Content.Shared.EntityList;
|
||||||
|
|
||||||
[Prototype("entityLootTable")]
|
[Prototype]
|
||||||
public sealed partial class EntityLootTablePrototype : IPrototype
|
public sealed partial class EntityLootTablePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ namespace Content.Shared.Explosion;
|
|||||||
/// entities is evaluated and stored by the explosion system. Adding or removing a prototype would require updating
|
/// entities is evaluated and stored by the explosion system. Adding or removing a prototype would require updating
|
||||||
/// that map of airtight entities. This could be done, but is just not yet implemented.
|
/// that map of airtight entities. This could be done, but is just not yet implemented.
|
||||||
/// </remarks>
|
/// </remarks>
|
||||||
[Prototype("explosion")]
|
[Prototype]
|
||||||
public sealed partial class ExplosionPrototype : IPrototype
|
public sealed partial class ExplosionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Ghost.Roles.Raffles;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Allows specifying the settings for a ghost role raffle as a prototype.
|
/// Allows specifying the settings for a ghost role raffle as a prototype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("ghostRoleRaffleSettings")]
|
[Prototype]
|
||||||
public sealed partial class GhostRoleRaffleSettingsPrototype : IPrototype
|
public sealed partial class GhostRoleRaffleSettingsPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc />
|
/// <inheritdoc />
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.GridPreloader.Prototypes;
|
|||||||
/// and allow the GridPreloader system to load them in the middle of the round. This is needed for optimization,
|
/// and allow the GridPreloader system to load them in the middle of the round. This is needed for optimization,
|
||||||
/// because loading grids in the middle of a round causes the server to lag.
|
/// because loading grids in the middle of a round causes the server to lag.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("preloadedGrid")]
|
[Prototype]
|
||||||
public sealed partial class PreloadedGridPrototype : IPrototype
|
public sealed partial class PreloadedGridPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Guidebook;
|
namespace Content.Shared.Guidebook;
|
||||||
|
|
||||||
[Prototype("guideEntry")]
|
[Prototype]
|
||||||
public sealed partial class GuideEntryPrototype : GuideEntry, IPrototype
|
public sealed partial class GuideEntryPrototype : GuideEntry, IPrototype
|
||||||
{
|
{
|
||||||
public string ID => Id;
|
public string ID => Id;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Content.Shared.HUD
|
namespace Content.Shared.HUD
|
||||||
{
|
{
|
||||||
[Prototype("hudTheme")]
|
[Prototype]
|
||||||
public sealed partial class HudThemePrototype : IPrototype, IComparable<HudThemePrototype>
|
public sealed partial class HudThemePrototype : IPrototype, IComparable<HudThemePrototype>
|
||||||
{
|
{
|
||||||
[DataField("name", required: true)]
|
[DataField("name", required: true)]
|
||||||
|
|||||||
@@ -34,7 +34,7 @@ public sealed partial class MarkingPoints
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
[Prototype("markingPoints")]
|
[Prototype]
|
||||||
public sealed partial class MarkingPointsPrototype : IPrototype
|
public sealed partial class MarkingPointsPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Humanoid.Markings
|
namespace Content.Shared.Humanoid.Markings
|
||||||
{
|
{
|
||||||
[Prototype("marking")]
|
[Prototype]
|
||||||
public sealed partial class MarkingPrototype : IPrototype
|
public sealed partial class MarkingPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Humanoid.Prototypes;
|
namespace Content.Shared.Humanoid.Prototypes;
|
||||||
|
|
||||||
[Prototype("humanoidProfile")]
|
[Prototype]
|
||||||
public sealed partial class HumanoidProfilePrototype : IPrototype
|
public sealed partial class HumanoidProfilePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Humanoid.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is what is used to change a humanoid spawned by RandomHumanoidSystem in Content.Server.
|
/// This is what is used to change a humanoid spawned by RandomHumanoidSystem in Content.Server.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("randomHumanoidSettings")]
|
[Prototype]
|
||||||
public sealed partial class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
|
public sealed partial class RandomHumanoidSettingsPrototype : IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
|
|
||||||
namespace Content.Shared.Humanoid.Prototypes;
|
namespace Content.Shared.Humanoid.Prototypes;
|
||||||
|
|
||||||
[Prototype("species")]
|
[Prototype]
|
||||||
public sealed partial class SpeciesPrototype : IPrototype
|
public sealed partial class SpeciesPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Inventory;
|
namespace Content.Shared.Inventory;
|
||||||
|
|
||||||
[Prototype("inventoryTemplate")]
|
[Prototype]
|
||||||
public sealed partial class InventoryTemplatePrototype : IPrototype
|
public sealed partial class InventoryTemplatePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Item;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is a prototype for a category of an item's size.
|
/// This is a prototype for a category of an item's size.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("itemSize")]
|
[Prototype]
|
||||||
public sealed partial class ItemSizePrototype : IPrototype, IComparable<ItemSizePrototype>
|
public sealed partial class ItemSizePrototype : IPrototype, IComparable<ItemSizePrototype>
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Materials
|
|||||||
/// Materials are read-only storage for the properties of specific materials.
|
/// Materials are read-only storage for the properties of specific materials.
|
||||||
/// Properties should be intrinsic (or at least as much is necessary for game purposes).
|
/// Properties should be intrinsic (or at least as much is necessary for game purposes).
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("material")]
|
[Prototype]
|
||||||
public sealed partial class MaterialPrototype : IPrototype, IInheritingPrototype
|
public sealed partial class MaterialPrototype : IPrototype, IInheritingPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.NPC.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Contains data about this faction's relations with other factions.
|
/// Contains data about this faction's relations with other factions.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("npcFaction")]
|
[Prototype]
|
||||||
public sealed partial class NpcFactionPrototype : IPrototype
|
public sealed partial class NpcFactionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
namespace Content.Shared.NameIdentifier;
|
namespace Content.Shared.NameIdentifier;
|
||||||
|
|
||||||
[Prototype("nameIdentifierGroup")]
|
[Prototype]
|
||||||
public sealed partial class NameIdentifierGroupPrototype : IPrototype
|
public sealed partial class NameIdentifierGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Nutrition;
|
namespace Content.Shared.Nutrition;
|
||||||
|
|
||||||
[Prototype("flavor")]
|
[Prototype]
|
||||||
public sealed partial class FlavorPrototype : IPrototype
|
public sealed partial class FlavorPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Nutrition.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Unique data storage block for different FoodSequence layers
|
/// Unique data storage block for different FoodSequence layers
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("foodSequenceElement")]
|
[Prototype]
|
||||||
public sealed partial class FoodSequenceElementPrototype : IPrototype
|
public sealed partial class FoodSequenceElementPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Objectives;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// General data about a group of items, such as icon, description, name. Used for Steal objective
|
/// General data about a group of items, such as icon, description, name. Used for Steal objective
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("stealTargetGroup")]
|
[Prototype]
|
||||||
public sealed partial class StealTargetGroupPrototype : IPrototype
|
public sealed partial class StealTargetGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Parallax.Biomes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// A preset group of biome layers to be used for a <see cref="BiomeComponent"/>
|
/// A preset group of biome layers to be used for a <see cref="BiomeComponent"/>
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("biomeTemplate")]
|
[Prototype]
|
||||||
public sealed partial class BiomeTemplatePrototype : IPrototype
|
public sealed partial class BiomeTemplatePrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Parallax.Biomes.Markers;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Spawns entities inside of the specified area with the minimum specified radius.
|
/// Spawns entities inside of the specified area with the minimum specified radius.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("biomeMarkerLayer")]
|
[Prototype]
|
||||||
public sealed partial class BiomeMarkerLayerPrototype : IBiomeMarkerLayer
|
public sealed partial class BiomeMarkerLayerPrototype : IBiomeMarkerLayer
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Players.PlayTimeTracking;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Given to a role to specify its ID for role-timer tracking purposes. That's it.
|
/// Given to a role to specify its ID for role-timer tracking purposes. That's it.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("playTimeTracker")]
|
[Prototype]
|
||||||
public sealed partial class PlayTimeTrackerPrototype : IPrototype
|
public sealed partial class PlayTimeTrackerPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Preferences.Loadouts;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Corresponds to a set of loadouts for a particular slot.
|
/// Corresponds to a set of loadouts for a particular slot.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("loadoutGroup")]
|
[Prototype]
|
||||||
public sealed partial class LoadoutGroupPrototype : IPrototype
|
public sealed partial class LoadoutGroupPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Procedural;
|
namespace Content.Shared.Procedural;
|
||||||
|
|
||||||
[Prototype("dungeonPreset")]
|
[Prototype]
|
||||||
public sealed partial class DungeonPresetPrototype : IPrototype
|
public sealed partial class DungeonPresetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Procedural;
|
namespace Content.Shared.Procedural;
|
||||||
|
|
||||||
[Prototype("dungeonRoomPack")]
|
[Prototype]
|
||||||
public sealed partial class DungeonRoomPackPrototype : IPrototype
|
public sealed partial class DungeonRoomPackPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Procedural;
|
namespace Content.Shared.Procedural;
|
||||||
|
|
||||||
[Prototype("dungeonRoom")]
|
[Prototype]
|
||||||
public sealed partial class DungeonRoomPrototype : IPrototype
|
public sealed partial class DungeonRoomPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Procedural.Loot;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Spawned inside of a salvage mission.
|
/// Spawned inside of a salvage mission.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("salvageLoot")]
|
[Prototype]
|
||||||
public sealed partial class SalvageLootPrototype : IPrototype
|
public sealed partial class SalvageLootPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Procedural;
|
namespace Content.Shared.Procedural;
|
||||||
|
|
||||||
[Prototype("salvageDifficulty")]
|
[Prototype]
|
||||||
public sealed partial class SalvageDifficultyPrototype : IPrototype
|
public sealed partial class SalvageDifficultyPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Utility;
|
|||||||
|
|
||||||
namespace Content.Shared.Prototypes;
|
namespace Content.Shared.Prototypes;
|
||||||
|
|
||||||
[Prototype("navMapBlip")]
|
[Prototype]
|
||||||
public sealed partial class NavMapBlipPrototype : IPrototype
|
public sealed partial class NavMapBlipPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Radio;
|
namespace Content.Shared.Radio;
|
||||||
|
|
||||||
[Prototype("radioChannel")]
|
[Prototype]
|
||||||
public sealed partial class RadioChannelPrototype : IPrototype
|
public sealed partial class RadioChannelPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Random.Rules;
|
|||||||
/// Every single condition needs to be true for this to be selected.
|
/// Every single condition needs to be true for this to be selected.
|
||||||
/// e.g. "choose maintenance audio if 90% of tiles nearby are maintenance tiles"
|
/// e.g. "choose maintenance audio if 90% of tiles nearby are maintenance tiles"
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("rules")]
|
[Prototype]
|
||||||
public sealed partial class RulesPrototype : IPrototype
|
public sealed partial class RulesPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Random;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Linter-friendly version of weightedRandom for Entity prototypes.
|
/// Linter-friendly version of weightedRandom for Entity prototypes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("weightedRandomEntity")]
|
[Prototype]
|
||||||
public sealed partial class WeightedRandomEntityPrototype : IWeightedRandomPrototype
|
public sealed partial class WeightedRandomEntityPrototype : IWeightedRandomPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Random;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Random weighting dataset for solutions, able to specify reagents quantity.
|
/// Random weighting dataset for solutions, able to specify reagents quantity.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("weightedRandomFillSolution")]
|
[Prototype]
|
||||||
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
|
public sealed partial class WeightedRandomFillSolutionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Random;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Linter-friendly version of weightedRandom for Ore prototypes.
|
/// Linter-friendly version of weightedRandom for Ore prototypes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("weightedRandomOre")]
|
[Prototype]
|
||||||
public sealed partial class WeightedRandomOrePrototype : IWeightedRandomPrototype
|
public sealed partial class WeightedRandomOrePrototype : IWeightedRandomPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Random;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Generic random weighting dataset to use.
|
/// Generic random weighting dataset to use.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("weightedRandom")]
|
[Prototype]
|
||||||
public sealed partial class WeightedRandomPrototype : IWeightedRandomPrototype
|
public sealed partial class WeightedRandomPrototype : IWeightedRandomPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Random;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Linter-friendly version of weightedRandom for Species prototypes.
|
/// Linter-friendly version of weightedRandom for Species prototypes.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("weightedRandomSpecies")]
|
[Prototype]
|
||||||
public sealed partial class WeightedRandomSpeciesPrototype : IWeightedRandomPrototype
|
public sealed partial class WeightedRandomSpeciesPrototype : IWeightedRandomPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Research.Prototypes;
|
|||||||
/// This is a prototype for a research discipline, a category
|
/// This is a prototype for a research discipline, a category
|
||||||
/// that governs how <see cref="TechnologyPrototype"/>s are unlocked.
|
/// that governs how <see cref="TechnologyPrototype"/>s are unlocked.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("techDiscipline")]
|
[Prototype]
|
||||||
public sealed partial class TechDisciplinePrototype : IPrototype
|
public sealed partial class TechDisciplinePrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Research.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is a prototype for a technology that can be unlocked.
|
/// This is a prototype for a technology that can be unlocked.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("technology")]
|
[Prototype]
|
||||||
public sealed partial class TechnologyPrototype : IPrototype
|
public sealed partial class TechnologyPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Roles;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes information for a single antag.
|
/// Describes information for a single antag.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("antag")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class AntagPrototype : IPrototype
|
public sealed partial class AntagPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Roles;
|
namespace Content.Shared.Roles;
|
||||||
|
|
||||||
[Prototype("department")]
|
[Prototype]
|
||||||
public sealed partial class DepartmentPrototype : IPrototype
|
public sealed partial class DepartmentPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Content.Shared.Roles
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Describes information for a single job on the station.
|
/// Describes information for a single job on the station.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("job")]
|
[Prototype]
|
||||||
public sealed partial class JobPrototype : IPrototype
|
public sealed partial class JobPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Affects the biome to be used for salvage.
|
/// Affects the biome to be used for salvage.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("salvageBiomeMod")]
|
[Prototype]
|
||||||
public sealed partial class SalvageBiomeModPrototype : IPrototype, ISalvageMod
|
public sealed partial class SalvageBiomeModPrototype : IPrototype, ISalvageMod
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom.Prototy
|
|||||||
|
|
||||||
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
namespace Content.Shared.Salvage.Expeditions.Modifiers;
|
||||||
|
|
||||||
[Prototype("salvageDungeonMod")]
|
[Prototype]
|
||||||
public sealed partial class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
|
public sealed partial class SalvageDungeonModPrototype : IPrototype, IBiomeSpecificMod
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Salvage.Expeditions;
|
namespace Content.Shared.Salvage.Expeditions;
|
||||||
|
|
||||||
[Prototype("salvageFaction")]
|
[Prototype]
|
||||||
public sealed partial class SalvageFactionPrototype : IPrototype
|
public sealed partial class SalvageFactionPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public partial class SiliconLaw : IComparable<SiliconLaw>, IEquatable<SiliconLaw
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// This is a prototype for a law governing the behavior of silicons.
|
/// This is a prototype for a law governing the behavior of silicons.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("siliconLaw")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
public sealed partial class SiliconLawPrototype : SiliconLaw, IPrototype
|
public sealed partial class SiliconLawPrototype : SiliconLaw, IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public sealed partial class SiliconLawset
|
|||||||
/// This is a prototype for a <see cref="SiliconLawPrototype"/> list.
|
/// This is a prototype for a <see cref="SiliconLawPrototype"/> list.
|
||||||
/// Cannot be used directly since it is a list of prototype ids rather than List<Siliconlaw>.
|
/// Cannot be used directly since it is a list of prototype ids rather than List<Siliconlaw>.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("siliconLawset"), Serializable, NetSerializable]
|
[Prototype, Serializable, NetSerializable]
|
||||||
public sealed partial class SiliconLawsetPrototype : IPrototype
|
public sealed partial class SiliconLawsetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
/// <inheritdoc/>
|
/// <inheritdoc/>
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.Speech
|
namespace Content.Shared.Speech
|
||||||
{
|
{
|
||||||
[Prototype("speechSounds")]
|
[Prototype]
|
||||||
public sealed partial class SpeechSoundsPrototype : IPrototype
|
public sealed partial class SpeechSoundsPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[ViewVariables]
|
[ViewVariables]
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Speech;
|
|||||||
/// Handles replacing speech verbs and other conditional chat modifications like bolding or font type depending
|
/// Handles replacing speech verbs and other conditional chat modifications like bolding or font type depending
|
||||||
/// on punctuation or by directly overriding the prototype.
|
/// on punctuation or by directly overriding the prototype.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("speechVerb")]
|
[Prototype]
|
||||||
public sealed partial class SpeechVerbPrototype : IPrototype
|
public sealed partial class SpeechVerbPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = default!;
|
[IdDataField] public string ID { get; private set; } = default!;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.SprayPainter.Prototypes;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Maps airlock style names to department ids.
|
/// Maps airlock style names to department ids.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("airlockDepartments")]
|
[Prototype]
|
||||||
public sealed partial class AirlockDepartmentsPrototype : IPrototype
|
public sealed partial class AirlockDepartmentsPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ namespace Content.Shared.Spreader;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
|
/// Adds this node group to <see cref="Content.Server.Spreader.SpreaderSystem"/> for tick updates.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("edgeSpreader")]
|
[Prototype]
|
||||||
public sealed partial class EdgeSpreaderPrototype : IPrototype
|
public sealed partial class EdgeSpreaderPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField] public string ID { get; private set; } = string.Empty;
|
[IdDataField] public string ID { get; private set; } = string.Empty;
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ using Robust.Shared.Prototypes;
|
|||||||
|
|
||||||
namespace Content.Shared.StatusEffect
|
namespace Content.Shared.StatusEffect
|
||||||
{
|
{
|
||||||
[Prototype("statusEffect")]
|
[Prototype]
|
||||||
public sealed partial class StatusEffectPrototype : IPrototype
|
public sealed partial class StatusEffectPrototype : IPrototype
|
||||||
{
|
{
|
||||||
[IdDataField]
|
[IdDataField]
|
||||||
|
|||||||
@@ -10,7 +10,7 @@ namespace Content.Shared.Store;
|
|||||||
/// Mainly used for antags, such as traitors, nukies, and revenants
|
/// Mainly used for antags, such as traitors, nukies, and revenants
|
||||||
/// This is separate to the cargo ordering system.
|
/// This is separate to the cargo ordering system.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("currency")]
|
[Prototype]
|
||||||
[DataDefinition, Serializable, NetSerializable]
|
[DataDefinition, Serializable, NetSerializable]
|
||||||
public sealed partial class CurrencyPrototype : IPrototype
|
public sealed partial class CurrencyPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -241,7 +241,7 @@ public partial class ListingData : IEquatable<ListingData>
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Defines a set item listing that is available in a store
|
/// Defines a set item listing that is available in a store
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("listing")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable]
|
[Serializable, NetSerializable]
|
||||||
[DataDefinition]
|
[DataDefinition]
|
||||||
public sealed partial class ListingPrototype : ListingData, IPrototype
|
public sealed partial class ListingPrototype : ListingData, IPrototype
|
||||||
@@ -422,7 +422,7 @@ public sealed partial class ListingDataWithCostModifiers : ListingData
|
|||||||
/// Defines set of rules for category of discounts -
|
/// Defines set of rules for category of discounts -
|
||||||
/// how <see cref="StoreDiscountComponent"/> will be filled by respective system.
|
/// how <see cref="StoreDiscountComponent"/> will be filled by respective system.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("discountCategory")]
|
[Prototype]
|
||||||
[DataDefinition, Serializable, NetSerializable]
|
[DataDefinition, Serializable, NetSerializable]
|
||||||
public sealed partial class DiscountCategoryPrototype : IPrototype
|
public sealed partial class DiscountCategoryPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ namespace Content.Shared.Store;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Used to define different categories for a store.
|
/// Used to define different categories for a store.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("storeCategory")]
|
[Prototype]
|
||||||
[Serializable, NetSerializable, DataDefinition]
|
[Serializable, NetSerializable, DataDefinition]
|
||||||
public sealed partial class StoreCategoryPrototype : IPrototype
|
public sealed partial class StoreCategoryPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ namespace Content.Shared.Store;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Specifies generic info for initializing a store.
|
/// Specifies generic info for initializing a store.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Prototype("storePreset")]
|
[Prototype]
|
||||||
[DataDefinition]
|
[DataDefinition]
|
||||||
public sealed partial class StorePresetPrototype : IPrototype
|
public sealed partial class StorePresetPrototype : IPrototype
|
||||||
{
|
{
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user