* Adds `SerializationProperty` - This will generate the private variable for serialization. Also provides an option `useField` to specify your own. Example: ```cs [SerializationProperty(0, useField: nameof(_resource)] ```
21 lines
No EOL
513 B
JSON
21 lines
No EOL
513 B
JSON
{
|
|
"version": 2,
|
|
"type": "Server.Items.BaseAddonContainer",
|
|
"properties": [
|
|
{
|
|
"name": "Components",
|
|
"type": "System.Collections.Generic.List\u003CServer.Items.AddonContainerComponent\u003E",
|
|
"rule": "ListMigrationRule",
|
|
"ruleArguments": [
|
|
"",
|
|
"Server.Items.AddonContainerComponent",
|
|
"SerializableInterfaceMigrationRule"
|
|
]
|
|
},
|
|
{
|
|
"name": "Resource",
|
|
"type": "Server.Items.CraftResource",
|
|
"rule": "EnumMigrationRule"
|
|
}
|
|
]
|
|
} |