Documentation
¶
Index ¶
- type App
- func (app *App) CaptureCharacter()
- func (app *App) CaptureGameData()
- func (app *App) CaptureGameMenu()
- func (app *App) CaptureLocation()
- func (app *App) ConnectToDiscordGateway() error
- func (app *App) DisconnectFromDiscordGateway()
- func (app *App) GetWindow()
- func (app *App) HandleWindowClosed()
- func (app *App) InitializeOCR()
- func (app *App) IsWindowFocused() bool
- func (app *App) ResetAppState()
- func (app *App) SetPresence(rich client.Activity)
- func (app *App) SetSize()
- func (app *App) StartLoop()
- func (app *App) UpdateDiscordPresence()
- type AppState
- type Combat
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type App ¶
type App struct {
Config config.AppConfig
GUIApp fyne.App
HWND win.HWND
AppState AppState
AppSize config.Resolution
}
func (*App) CaptureCharacter ¶
func (app *App) CaptureCharacter()
CaptureCharacter Detect the current character currently selected
func (*App) CaptureGameData ¶
func (app *App) CaptureGameData()
CaptureGameData Captures game data such as character and location
func (*App) CaptureGameMenu ¶
func (app *App) CaptureGameMenu()
CaptureGameMenu Capture the current game menu
func (*App) CaptureLocation ¶
func (app *App) CaptureLocation()
CaptureLocation Detect the current location of the player
func (*App) ConnectToDiscordGateway ¶
ConnectToDiscordGateway Connects to the Discord gateway
func (*App) DisconnectFromDiscordGateway ¶
func (app *App) DisconnectFromDiscordGateway()
DisconnectFromDiscordGateway Disconnects from the Discord gateway
func (*App) HandleWindowClosed ¶
func (app *App) HandleWindowClosed()
HandleWindowClosed Handles the scenario when the Honkai window is closed
func (*App) InitializeOCR ¶
func (app *App) InitializeOCR()
InitializeOCR Initializes OCR for capturing game data
func (*App) IsWindowFocused ¶
IsWindowFocused Checks if the Honkai window is currently focused
func (*App) ResetAppState ¶
func (app *App) ResetAppState()
func (*App) SetPresence ¶
SetPresence Util to sets the Discord presence
func (*App) UpdateDiscordPresence ¶
func (app *App) UpdateDiscordPresence()
UpdateDiscordPresence Updates the Discord presence based on game data