Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(speechPool SpeechPool, mp3Player Mp3Player, store SoundStore, keyConfig KeyConfiguration) (*processor, error)
Types ¶
type ClipboardAccess ¶
type KeyConfiguration ¶
type KeyConfiguration struct { HotKeyReading system.Hotkey AddonKeyPressing system.KeyPressing }
type KeyPresser ¶
type KeyPresser interface { PressCopy() Press(kp system.KeyPressing) PressRaw(ctrl, shift bool, keys ...int) }
type Mp3Player ¶
type Mp3Player interface {
Play(ctx context.Context, mp3Stream io.ReadCloser) error
}
type SoundStore ¶
type SoundStore interface { GetDescription(questId string, locale locale.Locale) io.ReadCloser GetProgress(questId string, locale locale.Locale) io.ReadCloser GetCompletion(questId string, locale locale.Locale) io.ReadCloser GetGossip(gId string, locale locale.Locale) io.ReadCloser GetFileLocationForDescription(questId string, locale locale.Locale) string GetFileLocationForProgress(questId string, locale locale.Locale) string GetFileLocationForCompletion(questId string, locale locale.Locale) string GetFileLocationForGossip(gId string, locale locale.Locale) string }
type SpeechPool ¶
type SpeechPool interface {
SpeechGeneratorFor(locale locale.Locale) sound.SpeechGenerator
}
Click to show internal directories.
Click to hide internal directories.