diff options
author | Aki <please@ignore.pl> | 2021-05-07 00:31:20 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-05-07 00:31:20 +0200 |
commit | e4134a5e2523f66b8109e6d21143c064836e6c5f (patch) | |
tree | b79100ba94d38876b5d9ed70afae3c58d0759a82 /models.go | |
parent | cfa940f03feda2c92cc6f838e1f74465aae6746f (diff) | |
download | field-e4134a5e2523f66b8109e6d21143c064836e6c5f.zip field-e4134a5e2523f66b8109e6d21143c064836e6c5f.tar.gz field-e4134a5e2523f66b8109e6d21143c064836e6c5f.tar.bz2 |
Added names for battles (finally)
Diffstat (limited to 'models.go')
-rw-r--r-- | models.go | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -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"` } |