This commit is contained in:
2023-03-03 09:09:07 +01:00
+68 -45
View File
@@ -320,57 +320,78 @@ components:
readOnly: true readOnly: true
server: server:
type: string type: string
example: fvnkhead's 7v7
readOnly: true readOnly: true
damage_source: tone_version:
$ref: '#/components/schemas/WeaponID' type: string
attacker: match_id:
$ref: '#/components/schemas/PlayerID' type: string
attacker_type: game_mode:
type: string type: string
attacker_weapon:
$ref: '#/components/schemas/WeaponID'
attacker_weapon_2:
$ref: '#/components/schemas/WeaponID'
attacker_weapon_3:
$ref: '#/components/schemas/WeaponID'
attacker_ordnance:
$ref: '#/components/schemas/WeaponID'
attacker_ability:
$ref: '#/components/schemas/WeaponID'
attacker_kit_1:
$ref: '#/components/schemas/WeaponID'
attacker_kit_2:
$ref: '#/components/schemas/WeaponID'
victim:
$ref: '#/components/schemas/PlayerID'
victim_weapon:
$ref: '#/components/schemas/WeaponID'
victim_weapon_2:
$ref: '#/components/schemas/WeaponID'
victim_weapon_3:
$ref: '#/components/schemas/WeaponID'
victim_ordnance:
$ref: '#/components/schemas/WeaponID'
victim_ability:
$ref: '#/components/schemas/WeaponID'
victim_kit_1:
$ref: '#/components/schemas/WeaponID'
victim_kit_2:
$ref: '#/components/schemas/WeaponID'
map: map:
$ref: '#/components/schemas/MapID' type: string
distance: unix_time:
type: number
example: 35.45
date:
type: string type: string
format: date-time format: date-time
readOnly: true game_time:
type: string
format: time
player_count:
type: integer
attacker_name:
type: string
attacker_id:
type: integer
attacker_current_weapon:
type: string
attacker_current_weapon_mods:
type: string
attacker_weapon_1:
type: string
attacker_weapon_1_mods:
type: string
attacker_weapon_2:
type: string
attacker_weapon_2_mods:
type: string
attacker_weapon_3:
type: string
attacker_weapon_3_mods:
type: string
attacker_offhand_weapon_1:
type: string
attacker_offhand_weapon_2:
type: string
victim_name:
type: string
victim_id:
type: integer
victim_current_weapon:
type: string
victim_current_weapon_mods:
type: string
victim_weapon_1:
type: string
victim_weapon_1_mods:
type: string
victim_weapon_2:
type: string
victim_weapon_2_mods:
type: string
victim_weapon_3:
type: string
victim_weapon_3_mods:
type: string
victim_offhand_weapon_1:
type: string
victim_offhand_weapon_2:
type: string
cause_of_death:
type: string
distance:
type: integer
required: required:
- server - cause_of_death
- attacker_type description: ''
- victim
PlayerID: PlayerID:
title: PlayerId title: PlayerId
x-stoplight: x-stoplight:
@@ -381,11 +402,13 @@ components:
x-stoplight: x-stoplight:
id: p92aomkxku2po id: p92aomkxku2po
type: string type: string
maxLength: 50
MapID: MapID:
title: MapID title: MapID
x-stoplight: x-stoplight:
id: zoazw8eoi7qwr id: zoazw8eoi7qwr
type: string type: string
maxLength: 50
PrefferredServer: PrefferredServer:
title: PrefferredServer title: PrefferredServer
x-stoplight: x-stoplight: