baseview

package
v1.18.4 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: AGPL-3.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const BaseViewID types.ViewID = "#darkbot-base-view"

Variables

This section is empty.

Functions

func BaseContainsTag

func BaseContainsTag(bas *configs_export.PoB, tags []types.Tag) bool

func CalculateDerivates

func CalculateDerivates(tags []types.Tag, api *apis.API) (map[string]float64, error)

func MatchBases

func MatchBases(bases []*configs_export.PoB, tags []types.Tag) []*configs_export.PoB

func SortBases added in v1.17.0

func SortBases(bases []*configs_export.PoB, order_key types.OrderKey) ([]*configs_export.PoB, error)

Types

type ErrorCalculatingDerivative

type ErrorCalculatingDerivative struct {
	// contains filtered or unexported fields
}

func (ErrorCalculatingDerivative) Error

type ForbiddenOrderKey

type ForbiddenOrderKey struct {
	// contains filtered or unexported fields
}

func ErrorForbiddenOrderKey

func ErrorForbiddenOrderKey(order_key types.OrderKey) ForbiddenOrderKey

func (ForbiddenOrderKey) Error

func (f ForbiddenOrderKey) Error() string

type TemplateAugmentedBase

type TemplateAugmentedBase struct {
	*configs_export.PoB
	HealthChange         string
	IsHealthDecreasing   bool
	IsUnderAttack        bool
	HealthDecreasePhrase string
	UnderAttackPhrase    string
}

type TemplateBase

type TemplateBase struct {
	AlertCargospaceLeftBelow *views.ViewTable
	WarningMissconfiguration *views.ViewTable

	*views.SharedViewTableSplitter
	// contains filtered or unexported fields
}

func NewTemplateBase

func NewTemplateBase(api *apis.API, channelID types.DiscordChannelID) *TemplateBase

func (*TemplateBase) GenerateRecords

func (b *TemplateBase) GenerateRecords() error

type WarningNoNonZeroDerivatives

type WarningNoNonZeroDerivatives struct {
}

func (WarningNoNonZeroDerivatives) Error

Jump to

Keyboard shortcuts

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