Remove cloneData parameter from AutoNetworkedField (#20596)
This commit is contained in:
@@ -17,21 +17,21 @@ public sealed partial class TechnologyDatabaseComponent : Component
|
||||
[DataField("mainDiscipline", customTypeSerializer: typeof(PrototypeIdSerializer<TechDisciplinePrototype>))]
|
||||
public string? MainDiscipline;
|
||||
|
||||
[AutoNetworkedField(true)]
|
||||
[AutoNetworkedField]
|
||||
[DataField("currentTechnologyCards")]
|
||||
public List<string> CurrentTechnologyCards = new();
|
||||
|
||||
/// <summary>
|
||||
/// Which research disciplines are able to be unlocked
|
||||
/// </summary>
|
||||
[AutoNetworkedField(true)]
|
||||
[AutoNetworkedField]
|
||||
[DataField("supportedDisciplines", customTypeSerializer: typeof(PrototypeIdListSerializer<TechDisciplinePrototype>))]
|
||||
public List<string> SupportedDisciplines = new();
|
||||
|
||||
/// <summary>
|
||||
/// The ids of all the technologies which have been unlocked.
|
||||
/// </summary>
|
||||
[AutoNetworkedField(true)]
|
||||
[AutoNetworkedField]
|
||||
[DataField("unlockedTechnologies", customTypeSerializer: typeof(PrototypeIdListSerializer<TechnologyPrototype>))]
|
||||
public List<string> UnlockedTechnologies = new();
|
||||
|
||||
@@ -40,7 +40,7 @@ public sealed partial class TechnologyDatabaseComponent : Component
|
||||
/// This is maintained alongside the TechnologyIds
|
||||
/// </summary>
|
||||
/// todo: if you unlock all the recipes in a tech, it doesn't count as unlocking the tech. sadge
|
||||
[AutoNetworkedField(true)]
|
||||
[AutoNetworkedField]
|
||||
[DataField("unlockedRecipes", customTypeSerializer: typeof(PrototypeIdListSerializer<LatheRecipePrototype>))]
|
||||
public List<string> UnlockedRecipes = new();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user