Files
RobustToolbox/Robust.Roslyn.Shared/Helpers/DataFieldAttribute.cs
34ce2ba534 serv5 (#6496)
* Add source generator for DataDefinition validation

* Add source generator for reading

* Add source generator for writing

* Include prototypes and other meansdatadefinition types

* Target ISerializationGenerated in data definitions

* Murder

* Use array, struct, enum methods

* Source generate get field definitions

* serv5

* Fix and pray

* Fix release compile

* Tayrtahn review

* a

* Generator bugfix

---------

Co-authored-by: metalgearsloth <comedian_vs_clown@hotmail.com>
2026-07-08 22:18:35 +10:00

19 lines
363 B
C#

using Microsoft.CodeAnalysis;
#nullable enable
namespace Robust.Roslyn.Shared.Helpers;
public sealed record DataFieldAttribute(
AttributeData? Data,
string Tag,
bool ReadOnly,
int Priority,
bool Include,
bool IsDataFieldAttribute,
bool Required,
bool ServerOnly,
string CamelCasedName,
int InheritanceBehavior = 0
);