recorder

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RecorderStopped = iota
	RecorderRunning
	RecorderAwaitingInitialLoot
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Recorder

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

func NewRecorder

func NewRecorder(frameChan chan *image.Paletted, c *config.CaptureConfig, nc chan domain.NotificationMessage, clr *combatlog.Reader, ol *overlay.Overlay) *Recorder

NewRecorder constructs Recorder

func (*Recorder) ClipboardListener

func (r *Recorder) ClipboardListener()

ClipboardListener event listener used to capture Clipboard changes for loot recording

func (*Recorder) GetWeatherStrengthListener

func (r *Recorder) GetWeatherStrengthListener(strength int) func()

GetWeatherStrengthListener returs listener that will set weather strength when invoked. In not running state it is NOOP.

func (*Recorder) Start

func (r *Recorder) Start(characters []string)

Start recording of abyssal run

func (*Recorder) StartLoop

func (r *Recorder) StartLoop()

StartLoop starts main recorded loop listening for frames and clipboard changes

func (*Recorder) Status

func (r *Recorder) Status() int

Status returns status of recorder

func (*Recorder) Stop

func (r *Recorder) Stop(fm *fittings.FittingsManager) (string, error)

Stop stops recording and writes .abyss file if frames captured

func (*Recorder) StopLoop

func (r *Recorder) StopLoop()

StopLoop stops main recording loop

Jump to

Keyboard shortcuts

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