disco

package
v1.153.0 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: AGPL-3.0 Imports: 10 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetDiscoCacheMap

func GetDiscoCacheMap(items []Item, shared *types.SharedData) map[TdCacheKey]DiscoCompat

func GetRephackCompat added in v1.126.0

func GetRephackCompat(shared *types.SharedData, faction_nicks []string, Nickname cfg.TractorID) (rep float64)

func MarshalRephacksCompat added in v1.126.0

func MarshalRephacksCompat(shared *types.SharedData, faction_nicks []string, system_nicks []string) (result string)

Types

type DiscoCompat

type DiscoCompat struct {
	Nickname string
	Data     *configs_export.DiscoveryTechCompat
}

type Item

type Item interface {
	GetNickname() string
	GetTechCompat() *configs_export.DiscoveryTechCompat
}

type TdCacheKey

type TdCacheKey string

func GetTdDiscoCacheKey

func GetTdDiscoCacheKey(shared *types.SharedData, nickname string) TdCacheKey

Jump to

Keyboard shortcuts

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