Documentation ¶
Index ¶
- func FormattedShipClassOfCommodity(ship_class cfgtype.ShipClass) string
- func FormattedShipClassOfCommodity2(ship_class cfgtype.ShipClass) string
- func GetAmmoLimitFormatted(ammo_limit configs_export.AmmoLimit) string
- func GetDiscoCacheMap(items []Item, disco types.DiscoveryIDs) map[TdCacheKey]DiscoCompat
- func SortedBases(bases_map map[cfgtype.BaseUniNick]*configs_export.GoodAtBase) []*configs_export.GoodAtBase
- func SortedMarketGoods(goods_per_nick map[configs_export.CommodityKey]configs_export.MarketGood) []configs_export.MarketGood
- type DiscoCompat
- type Item
- type TdCacheKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormattedShipClassOfCommodity ¶ added in v1.38.0
func FormattedShipClassOfCommodity2 ¶ added in v1.38.0
func GetAmmoLimitFormatted ¶
func GetAmmoLimitFormatted(ammo_limit configs_export.AmmoLimit) string
func GetDiscoCacheMap ¶ added in v1.42.0
func GetDiscoCacheMap(items []Item, disco types.DiscoveryIDs) map[TdCacheKey]DiscoCompat
func SortedBases ¶ added in v1.35.0
func SortedBases(bases_map map[cfgtype.BaseUniNick]*configs_export.GoodAtBase) []*configs_export.GoodAtBase
func SortedMarketGoods ¶ added in v1.35.0
func SortedMarketGoods(goods_per_nick map[configs_export.CommodityKey]configs_export.MarketGood) []configs_export.MarketGood
Types ¶
type DiscoCompat ¶ added in v1.42.0
type DiscoCompat struct { Nickname string Data *configs_export.DiscoveryTechCompat }
type Item ¶ added in v1.42.0
type Item interface { GetNickname() string GetTechCompat() *configs_export.DiscoveryTechCompat }
type TdCacheKey ¶ added in v1.42.0
type TdCacheKey string
func GetTdDiscoCacheKey ¶ added in v1.42.0
func GetTdDiscoCacheKey(disco types.DiscoveryIDs, nickname string) TdCacheKey
Click to show internal directories.
Click to hide internal directories.