Removed the StateType property from every component. This field was completely unused except for a debug assertion.
This commit is contained in:
@@ -13,7 +13,6 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
{
|
||||
public override string Name => "LatheDatabase";
|
||||
public override uint? NetID => ContentNetIDs.LATHE_DATABASE;
|
||||
public override Type StateType => typeof(LatheDatabaseState);
|
||||
|
||||
private List<LatheRecipePrototype> _recipes = new List<LatheRecipePrototype>();
|
||||
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
protected virtual Dictionary<string, int> Storage { get; set; }
|
||||
public override string Name => "MaterialStorage";
|
||||
public sealed override uint? NetID => ContentNetIDs.MATERIAL_STORAGE;
|
||||
public sealed override Type StateType => typeof(MaterialStorageState);
|
||||
|
||||
public int this[string ID]
|
||||
{
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
{
|
||||
public override string Name => "ProtolatheDatabase";
|
||||
public sealed override uint? NetID => ContentNetIDs.PROTOLATHE_DATABASE;
|
||||
public sealed override Type StateType => typeof(ProtolatheDatabaseState);
|
||||
|
||||
private List<LatheRecipePrototype> _protolatheRecipes = new List<LatheRecipePrototype>();
|
||||
|
||||
|
||||
@@ -13,7 +13,6 @@ namespace Content.Shared.GameObjects.Components.Research
|
||||
{
|
||||
public override string Name => "TechnologyDatabase";
|
||||
public override uint? NetID => ContentNetIDs.TECHNOLOGY_DATABASE;
|
||||
public override Type StateType => typeof(TechnologyDatabaseState);
|
||||
|
||||
protected List<TechnologyPrototype> _technologies = new List<TechnologyPrototype>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user