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()
Detect the current character currently selected
func (*App) CaptureGameData ¶
func (app *App) CaptureGameData()
Captures game data such as character and location
func (*App) CaptureLocation ¶
func (app *App) CaptureLocation()
Detect the current location of the player
func (*App) ConnectToDiscordGateway ¶
Connects to the Discord gateway
func (*App) DisconnectFromDiscordGateway ¶
func (app *App) DisconnectFromDiscordGateway()
Disconnects from the Discord gateway
func (*App) HandleWindowClosed ¶
func (app *App) HandleWindowClosed()
Handles the scenario when the Honkai window is closed
func (*App) IsWindowFocused ¶
Checks if the Honkai window is currently focused
func (*App) ResetAppState ¶
func (app *App) ResetAppState()
func (*App) SetPresence ¶
Util to sets the Discord presence
func (*App) UpdateDiscordPresence ¶
func (app *App) UpdateDiscordPresence()
Updates the Discord presence based on game data
Click to show internal directories.
Click to hide internal directories.