Content PR for YAML hot reloading (#3319)
* Content PR for YAML hot reloading * Add CanAdminReloadPrototypes (host permission) * IndexedPrototype fixes
This commit is contained in:
@@ -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; }
|
||||
|
||||
|
||||
@@ -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; }
|
||||
|
||||
|
||||
@@ -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!;
|
||||
|
||||
Reference in New Issue
Block a user