mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 16:36:52 +02:00
* 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>
19 lines
363 B
C#
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
|
|
);
|