presenter

package
v0.0.0-...-4ee4993 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const ChannelHitBottom = "hitDisplayBottom"
View Source
const ChannelHitTop = "hitDisplayTop"
View Source
const ChannelThroughput = "throughputDisplay"
View Source
const MonoStyle = "font-family: \"Anka Coder Narrow\";"
View Source
const ThroughputBarCount = 10

Variables

This section is empty.

Functions

This section is empty.

Types

type BarSector

type BarSector struct {
	Color   string
	Portion float64
}

type HitEvent

type HitEvent struct {
	Text  string
	Color string
	Big   bool
}

HitEvent represents a single strike or heal that is shown on the hit display

type ThroughputBar

type ThroughputBar struct {
	LeftText   string
	CenterText string
	RightText  string

	LeftStyle   string
	CenterStyle string
	RightStyle  string

	Sectors []BarSector
}

ThroughputBar is a single bar shown on the throughput display.

type ThroughputState

type ThroughputState struct {
	FightId    int
	TopBars    []ThroughputBar
	BottomBars []ThroughputBar
}

type ThroughputStateEvent

type ThroughputStateEvent struct {
	Content []ThroughputState
}

Jump to

Keyboard shortcuts

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