export_front

package
v1.106.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 23, 2026 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coords2D

type Coords2D struct {
	X *float64
	Y *float64
}

type Export

type Export struct {
	Mapped  *configs_mapped.MappedConfigs
	Systems []System
}

func NewExport

func NewExport(ctx context.Context) *Export

func (*Export) GetInfocardName

func (e *Export) GetInfocardName(ids_name int, nickname string) string

type Region

type Region struct {
	Name string `json:"name"`
}

func (Region) ToHexColor

func (region Region) ToHexColor() string

type System

type System struct {
	Nickname string   `json:"nickname"`
	Name     string   `json:"name"`
	Pos      Coords2D `json:"galaxy_pos"`

	Region Region `json:"region"`
}

func ExportSystems added in v1.97.0

func ExportSystems(configs *configs_mapped.MappedConfigs) []System

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL