mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-12 10:17:22 +01:00
Add attribute handling, rework atr and shape caches.
This commit is contained in:
parent
3412786282
commit
d7dee39fab
23 changed files with 1187 additions and 300 deletions
|
|
@ -3,7 +3,7 @@
|
|||
"type": "object",
|
||||
"properties": {
|
||||
"Type": {
|
||||
"enum": [ "Unknown", "Imc", "Eqdp", "Eqp", "Est", "Gmp", "Rsp", "GlobalEqp", "Atch", "Shp" ]
|
||||
"enum": [ "Unknown", "Imc", "Eqdp", "Eqp", "Est", "Gmp", "Rsp", "GlobalEqp", "Atch", "Shp", "Atr" ]
|
||||
},
|
||||
"Manipulation": {
|
||||
"type": "object"
|
||||
|
|
@ -100,6 +100,16 @@
|
|||
"$ref": "meta_shp.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
{
|
||||
"properties": {
|
||||
"Type": {
|
||||
"const": "Atr"
|
||||
},
|
||||
"Manipulation": {
|
||||
"$ref": "meta_atr.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
|||
27
schemas/structs/meta_atr.json
Normal file
27
schemas/structs/meta_atr.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"Entry": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"Slot": {
|
||||
"$ref": "meta_enums.json#HumanSlot"
|
||||
},
|
||||
"Id": {
|
||||
"$ref": "meta_enums.json#U16"
|
||||
},
|
||||
"Attribute": {
|
||||
"type": "string",
|
||||
"minLength": 5,
|
||||
"maxLength": 30,
|
||||
"pattern": "^atrx_"
|
||||
},
|
||||
"GenderRaceCondition": {
|
||||
"enum": [ 0, 101, 201, 301, 401, 501, 601, 701, 801, 901, 1001, 1101, 1201, 1301, 1401, 1501, 1601, 1701, 1801 ]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"Attribute"
|
||||
]
|
||||
}
|
||||
|
|
@ -19,6 +19,9 @@
|
|||
},
|
||||
"ConnectorCondition": {
|
||||
"$ref": "meta_enums.json#ShapeConnectorCondition"
|
||||
},
|
||||
"GenderRaceCondition": {
|
||||
"enum": [ 0, 101, 201, 301, 401, 501, 601, 701, 801, 901, 1001, 1101, 1201, 1301, 1401, 1501, 1601, 1701, 1801 ]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue