fix(codegen): Fixes various code gen issues. Adds better embedded serialization support (#688)
* Adds save flag support (see `ElvenGlasses` for an example) * Updates AOSAttributes so they are code genned * Fixes embedded object support by adding an `IRawSerializable` * Fixes various inconsistencies in serializing with codegen
This commit is contained in:
parent
69af652a18
commit
2c8097f707
54 changed files with 787 additions and 507 deletions
24
Projects/UOContent/Migrations/Server.BaseAttributes.v0.json
Normal file
24
Projects/UOContent/Migrations/Server.BaseAttributes.v0.json
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"version": 0,
|
||||
"type": "Server.BaseAttributes",
|
||||
"properties": [
|
||||
{
|
||||
"name": "Names",
|
||||
"type": "uint",
|
||||
"rule": "PrimitiveTypeMigrationRule",
|
||||
"ruleArguments": [
|
||||
""
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "Values",
|
||||
"type": "int[]",
|
||||
"rule": "ArrayMigrationRule",
|
||||
"ruleArguments": [
|
||||
"int",
|
||||
"PrimitiveTypeMigrationRule",
|
||||
"EncodedInt"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue