baseview

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2024 License: AGPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const HealthRateDecreasingThreshold = -0.01

Variables

This section is empty.

Functions

func BaseContainsTag

func BaseContainsTag(bas base.Base, tags []types.Tag) bool

func CalculateDerivates

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

func MatchBases

func MatchBases(bases []base.Base, tags []types.Tag) []base.Base

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 {
	base.Base
	HealthChange         string
	IsHealthDecreasing   bool
	IsUnderAttack        bool
	HealthDecreasePhrase string
	UnderAttackPhrase    string
}

type TemplateBase

type TemplateBase struct {
	*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