Content PR for YAML hot reloading (#3319)
* Content PR for YAML hot reloading * Add CanAdminReloadPrototypes (host permission) * IndexedPrototype fixes
This commit is contained in:
@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.DamageContainer
|
||||
/// </summary>
|
||||
[Prototype("damageContainer")]
|
||||
[Serializable, NetSerializable]
|
||||
public class DamageContainerPrototype : IPrototype, IIndexedPrototype
|
||||
public class DamageContainerPrototype : IPrototype
|
||||
{
|
||||
private bool _supportAll;
|
||||
private HashSet<DamageClass> _supportedClasses;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace Content.Shared.Damage.ResistanceSet
|
||||
/// </summary>
|
||||
[Prototype("resistanceSet")]
|
||||
[Serializable, NetSerializable]
|
||||
public class ResistanceSetPrototype : IPrototype, IIndexedPrototype
|
||||
public class ResistanceSetPrototype : IPrototype
|
||||
{
|
||||
private Dictionary<DamageType, float> _coefficients;
|
||||
private Dictionary<DamageType, int> _flatReductions;
|
||||
|
||||
Reference in New Issue
Block a user