From e4134a5e2523f66b8109e6d21143c064836e6c5f Mon Sep 17 00:00:00 2001 From: Aki Date: Fri, 7 May 2021 00:31:20 +0200 Subject: Added names for battles (finally) --- models.go | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'models.go') diff --git a/models.go b/models.go index 9a0a67f..95c30c8 100644 --- a/models.go +++ b/models.go @@ -16,4 +16,20 @@ type Battle struct { LastModified time.Time `json:"-"` Teams [2]Team `json:"teams"` Killmails []Killmail `json:"killmails"` + Name string `json:"name"` +} + +type EsiKillmail struct { + SolarSystemId int32 `json:"solar_system_id"` + Victim struct { + Position struct { + X float64 `json:"x"` + Y float64 `json:"y"` + Z float64 `json:"z"` + } `json:"position"` + } `json:"victim"` +} + +type EsiUniverseSystem struct { + Name string `json:"name"` } -- cgit v1.1