mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
update schema
This commit is contained in:
parent
28de17a67c
commit
9e3f008e51
1 changed files with 54 additions and 33 deletions
87
schema.json
87
schema.json
|
|
@ -21,9 +21,7 @@
|
||||||
"$ref": "#/definitions/MessagePacketMeta"
|
"$ref": "#/definitions/MessagePacketMeta"
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -52,9 +50,7 @@
|
||||||
"$ref": "#/definitions/MessagePacketMeta"
|
"$ref": "#/definitions/MessagePacketMeta"
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -72,9 +68,7 @@
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -96,9 +90,7 @@
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -126,9 +118,7 @@
|
||||||
"minimum": 0.0
|
"minimum": 0.0
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -160,9 +150,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -180,9 +168,7 @@
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -207,9 +193,7 @@
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/DemoTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -296,6 +280,12 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"DemoTick": {
|
||||||
|
"description": "Tick relative to the start of the demo",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint32",
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
"EntityId": {
|
"EntityId": {
|
||||||
"type": "integer",
|
"type": "integer",
|
||||||
"format": "uint32",
|
"format": "uint32",
|
||||||
|
|
@ -11419,9 +11409,7 @@
|
||||||
"minimum": 0.0
|
"minimum": 0.0
|
||||||
},
|
},
|
||||||
"tick": {
|
"tick": {
|
||||||
"type": "integer",
|
"$ref": "#/definitions/ServerTick"
|
||||||
"format": "uint32",
|
|
||||||
"minimum": 0.0
|
|
||||||
},
|
},
|
||||||
"type": {
|
"type": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
|
|
@ -12207,6 +12195,26 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"type": "object",
|
||||||
|
"required": [
|
||||||
|
"data",
|
||||||
|
"type"
|
||||||
|
],
|
||||||
|
"properties": {
|
||||||
|
"data": {
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint8",
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
|
"type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"HapMeleeContact"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
|
|
@ -12533,7 +12541,7 @@
|
||||||
"PacketEntity": {
|
"PacketEntity": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"required": [
|
"required": [
|
||||||
"baseline_props",
|
"baseline_index",
|
||||||
"entity_index",
|
"entity_index",
|
||||||
"in_pvs",
|
"in_pvs",
|
||||||
"props",
|
"props",
|
||||||
|
|
@ -12542,11 +12550,10 @@
|
||||||
"update_type"
|
"update_type"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
"baseline_props": {
|
"baseline_index": {
|
||||||
"type": "array",
|
"type": "integer",
|
||||||
"items": {
|
"format": "uint",
|
||||||
"$ref": "#/definitions/SendProp"
|
"minimum": 0.0
|
||||||
}
|
|
||||||
},
|
},
|
||||||
"delay": {
|
"delay": {
|
||||||
"type": [
|
"type": [
|
||||||
|
|
@ -12555,6 +12562,14 @@
|
||||||
],
|
],
|
||||||
"format": "float"
|
"format": "float"
|
||||||
},
|
},
|
||||||
|
"delta": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"format": "uint32",
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
"entity_index": {
|
"entity_index": {
|
||||||
"$ref": "#/definitions/EntityId"
|
"$ref": "#/definitions/EntityId"
|
||||||
},
|
},
|
||||||
|
|
@ -12782,6 +12797,12 @@
|
||||||
"ServerClassName": {
|
"ServerClassName": {
|
||||||
"type": "string"
|
"type": "string"
|
||||||
},
|
},
|
||||||
|
"ServerTick": {
|
||||||
|
"description": "Tick relative to the start of the game on the server",
|
||||||
|
"type": "integer",
|
||||||
|
"format": "uint32",
|
||||||
|
"minimum": 0.0
|
||||||
|
},
|
||||||
"SignOnState": {
|
"SignOnState": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"enum": [
|
"enum": [
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue