Content PR for YAML hot reloading (#3319)

* Content PR for YAML hot reloading

* Add CanAdminReloadPrototypes (host permission)

* IndexedPrototype fixes
This commit is contained in:
DrSmugleaf
2021-02-20 00:05:24 +01:00
committed by GitHub
parent 0ae4a6792f
commit 3e702723fd
42 changed files with 95 additions and 54 deletions

View File

@@ -9,7 +9,7 @@ namespace Content.Shared.Roles
/// Describes information for a single antag.
/// </summary>
[Prototype("antag")]
public class AntagPrototype : IPrototype, IIndexedPrototype
public class AntagPrototype : IPrototype
{
public string ID { get; private set; }

View File

@@ -11,7 +11,7 @@ namespace Content.Shared.Roles
/// Describes information for a single job on the station.
/// </summary>
[Prototype("job")]
public class JobPrototype : IPrototype, IIndexedPrototype
public class JobPrototype : IPrototype
{
public string ID { get; private set; }

View File

@@ -12,7 +12,7 @@ using static Content.Shared.GameObjects.Components.Inventory.EquipmentSlotDefine
namespace Content.Shared.Roles
{
[Prototype("startingGear")]
public class StartingGearPrototype : IPrototype, IIndexedPrototype
public class StartingGearPrototype : IPrototype
{
private string _id = default!;
private Dictionary<Slots, string> _equipment = default!;