This UDA should be attached to a single field that represents the main value of a struct.
For binary based archives, this likely has no real meaning. For text based archives, this will likely determine how the value is formatted.
For example, with the SDLang archive (ArchiveSDL), the following struct.
struct Foo { int bar; @MainValue string type; }
Would produce the following SDLang file.
Foo "SomeType" { bar 200 }
See Implementation
This UDA should be attached to a single field that represents the main value of a struct.
For binary based archives, this likely has no real meaning. For text based archives, this will likely determine how the value is formatted.