fix(codegen): Fixes bulk order deed hue and codegens (#647)

- [X] Codegens some Bulk Order stuff
- [X] Fixes deserializing with a class that requires the parent as a constructor argument


Closes #641
Closes #623
This commit is contained in:
Kamron Batman 2021-06-11 19:51:03 -07:00 • committed by GitHub
parent eb4e3ac070
commit 510d2e006b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 185 additions and 378 deletions

View file

@ -0,0 +1,18 @@
{
"version": 1,
"type": "Server.Engines.BulkOrders.BaseBOD",
"properties": [
{
"name": "AmountMax",
"type": "int",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": []
},
{
"name": "RequireExceptional",
"type": "bool",
"rule": "PrimitiveTypeMigrationRule",
"ruleArguments": []
}
]
}

View file

@ -0,0 +1,16 @@
{
"version": 0,
"type": "Server.Engines.BulkOrders.LargeBOD",
"properties": [
{
"name": "Entries",
"type": "Server.Engines.BulkOrders.LargeBulkEntry[]",
"rule": "ArrayMigrationRule",
"ruleArguments": [
"Server.Engines.BulkOrders.LargeBulkEntry",
"SerializationMethodSignatureMigrationRule",
"DeserializationRequiresParent"
]
}
]
}

View file

@ -0,0 +1,5 @@
{
"version": 0,
"type": "Server.Engines.BulkOrders.LargeSmithBOD",
"properties": []
}

View file

@ -0,0 +1,5 @@
{
"version": 0,
"type": "Server.Engines.BulkOrders.LargeTailorBOD",
"properties": []
}

View file

@ -0,0 +1,5 @@
{
"version": 0,
"type": "Server.Engines.BulkOrders.SmallSmithBOD",
"properties": []
}

View file

@ -0,0 +1,5 @@
{
"version": 0,
"type": "Server.Engines.BulkOrders.SmallTailorBOD",
"properties": []
}

View file

@ -0,0 +1,21 @@
{
"version": 2,
"type": "Server.Items.BaseAddon",
"properties": [
{
"name": "Components",
"type": "System.Collections.Generic.List\u003CServer.Items.AddonComponent\u003E",
"rule": "ListMigrationRule",
"ruleArguments": [
"Server.Items.AddonComponent",
"SerializableInterfaceMigrationRule"
]
},
{
"name": "Resource",
"type": "Server.Items.CraftResource",
"rule": "EnumMigrationRule",
"ruleArguments": []
}
]
}