Remove field: from DataField attributes (#3932)
This commit is contained in:
@@ -16,48 +16,48 @@ namespace Content.Shared.Research
|
||||
/// The ID of this technology prototype.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("id", required: true)]
|
||||
[DataField("id", required: true)]
|
||||
public string ID { get; } = default!;
|
||||
|
||||
/// <summary>
|
||||
/// The name this technology will have on user interfaces.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("name")]
|
||||
[DataField("name")]
|
||||
public string Name { get; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// An icon that represent this technology.
|
||||
/// </summary>
|
||||
[field: DataField("icon")]
|
||||
[DataField("icon")]
|
||||
public SpriteSpecifier Icon { get; } = SpriteSpecifier.Invalid;
|
||||
|
||||
/// <summary>
|
||||
/// A short description of the technology.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("description")]
|
||||
[DataField("description")]
|
||||
public string Description { get; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// The required research points to unlock this technology.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("requiredPoints")]
|
||||
[DataField("requiredPoints")]
|
||||
public int RequiredPoints { get; }
|
||||
|
||||
/// <summary>
|
||||
/// A list of technology IDs required to unlock this technology.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("requiredTechnologies")]
|
||||
[DataField("requiredTechnologies")]
|
||||
public List<string> RequiredTechnologies { get; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// A list of recipe IDs this technology unlocks.
|
||||
/// </summary>
|
||||
[ViewVariables]
|
||||
[field: DataField("unlockedRecipes")]
|
||||
[DataField("unlockedRecipes")]
|
||||
public List<string> UnlockedRecipes { get; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user