Refactor serialization copying to use source generators (#19412)
This commit is contained in:
@@ -7,9 +7,9 @@ namespace Content.Server.Advertisements
|
||||
{
|
||||
[ViewVariables]
|
||||
[IdDataField]
|
||||
public string ID { get; } = default!;
|
||||
public string ID { get; private set; } = default!;
|
||||
|
||||
[DataField("advertisements")]
|
||||
public List<string> Advertisements { get; } = new();
|
||||
public List<string> Advertisements { get; private set; } = new();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user