modifiy kill model

This commit is contained in:
2023-03-03 08:24:28 +01:00
parent 93d9a8f79e
commit 01ec5867a8
+64 -47
View File
@@ -318,59 +318,74 @@ components:
id: id:
type: integer type: integer
readOnly: true readOnly: true
server: match_id:
type: string type: string
example: fvnkhead's 7v7 game_mode:
readOnly: true
damage_source:
$ref: '#/components/schemas/WeaponID'
attacker:
$ref: '#/components/schemas/PlayerID'
attacker_type:
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
- victim
PlayerID: PlayerID:
title: EntityID title: EntityID
x-stoplight: x-stoplight:
@@ -381,11 +396,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: