Versions in this module Expand all Collapse all v1 v1.0.0 Oct 25, 2017 Changes in this version + func FixMapJumps(db *sql.DB) error + func Import(db *sql.DB, regionPath, invNamePath string) error + func ImportRegion(db *sql.DB, path string) error + func InsertCelestialStatsStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertConstellationsStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertMapJumpStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertMapLocationScenesStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertMapWHClassesStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertOrbitalDenormStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertRegionStmt(tx *sql.Tx) (*sql.Stmt, error) + func InsertSolarSystemStmt(tx *sql.Tx) (*sql.Stmt, error) + type AsteroidBelt struct + Position []float64 + Statistics CelestialStatistics + TypeID int64 + type AsteroidBelts []AsteroidBelt + func (b AsteroidBelts) Len() int + func (b AsteroidBelts) Less(i, j int) bool + func (b AsteroidBelts) Swap(i, j int) + type CelestialStatistics struct + Age *float64 + Density *float64 + Eccentricity *float64 + EscapeVelocity *float64 + Fragmented *bool + Life *float64 + Locked *bool + Luminosity *float64 + MassDust *float64 + MassGas *float64 + OrbitPeriod *float64 + OrbitRadius *float64 + Pressure *float64 + Radius *float64 + RotationRate *float64 + SpectralClass *string + SurfaceGravity *float64 + Temperature *float64 + type Constellation struct + Center []float64 + ConstellationID int64 + FactionID *int64 + Max []float64 + Min []float64 + NameID int64 + Radius float64 + WormholeClassID int64 + func (c *Constellation) ImportSystem(path string) error + func (c *Constellation) ImportSystems() error + type InvName struct + ID int64 + Name string + type Moon struct + NPCStations map[int64]NPCStation + Position []float64 + Radius int64 + Statistics CelestialStatistics + TypeID int64 + type Moons []Moon + func (b Moons) Len() int + func (b Moons) Less(i, j int) bool + func (b Moons) Swap(i, j int) + type NPCStation struct + GraphicID int64 + GroupID int64 + IsConquerable bool + OwnerID int64 + Position []float64 + ReprocessingEfficiency float64 + ReprocessingHangarFlag int64 + ReprocessingStationsTake float64 + TypeID int64 + UseOperationName bool + type Planet struct + AsteroidBelts map[int64]AsteroidBelt + CelestialIndex int64 + Moons map[int64]Moon + NPCStations map[int64]NPCStation + Position []float64 + Radius float64 + Statistics CelestialStatistics + TypeID int64 + func (p *Planet) ImportBelts() error + func (p *Planet) ImportMoons() error + type Region struct + Center []float64 + DescriptionID *int64 + FactionID *int64 + Max []float64 + Min []float64 + NameID int64 + Nebula int64 + RegionID int64 + WormholeClassID int64 + func (r *Region) ImportConstellation(path string) error + func (r *Region) ImportConstellations() error + type SecondarySun struct + EffectBeaconTypeID int64 + ItemID int64 + Position []float64 + TypeID int64 + type SolarSystem struct + Border bool + Center []float64 + Corridor bool + FactionID *int64 + Fringe bool + Hub bool + International bool + Luminosity float64 + Max []float64 + Min []float64 + NPCStations map[int64]NPCStation + Planets map[int64]Planet + Radius float64 + Regional bool + SecondarySun *SecondarySun + Security float64 + SecurityClass *string + SolarSystemID int64 + Star Star + Stargates map[int64]Stargate + SunTypeID int64 + WormholeClassID int64 + func (s *SolarSystem) ImportPlanet(planetID int64, planet Planet) error + func (s *SolarSystem) ImportPlanets() error + type Star struct + ID int64 + Radius int64 + Statistics CelestialStatistics + TypeID int64 + type Stargate struct + Destination int64 + Position []float64 + TypeID int64