Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var DynamicAddresses = dynamicAddresses{}
DynamicAddresses are in-between pointers that lead to values
var GameplayData = GameplayValues{}
GameplayData contains raw values taken from osu! memory
var MemCycle bool
MemCycle test
var MenuData = InMenuValues{}
MenuData contains raw values taken from osu! memory
var ResultsScreenData = ResultsScreenValues{}
ResultsScreenData contains raw values taken from osu! memory
var SettingsData = InSettingsValues{}
SettingsData contains raw values taken from osu! memory
var SongsFolderPath string
SongsFolderPath is full path to osu! Songs. Gets set automatically on Windows (through memory)
var TourneyData = TourneyValues{}
TourneyData contains raw values taken from osu! memory
var UnderWine bool
UnderWine?
var UpdateTime int
UpdateTime Intervall between value updates
Functions ¶
Types ¶
type GameplayValues ¶
type GameplayValues struct { GameMode int32 `json:"gameMode"` Name string `json:"name"` Score int32 `json:"score"` Accuracy float64 `json:"accuracy"` Combo combo `json:"combo"` Hp hp `json:"hp"` Hits hits `json:"hits"` PP ppG `json:"pp"` KeyOverlay keyOverlay `json:"keyOverlay"` Leaderboard leaderboard `json:"leaderboard"` }
GameplayValues inside osu!memory
type InMenuValues ¶
type InMenuValues struct { MainMenuValues MainMenuValues `json:"mainMenu"` OsuStatus uint32 `json:"state"` GameMode int32 `json:"gameMode"` ChatChecker int8 `json:"isChatEnabled"` //bool (1 byte) Bm bm `json:"bm"` Mods modsM `json:"mods"` PP ppM `json:"pp"` }
InMenuValues inside osu!memory
type InSettingsValues ¶
type InSettingsValues struct { ShowInterface bool `json:"showInterface"` //dynamic in gameplay Folders folders `json:"folders"` }
InSettingsValues are values represented inside settings class, could be dynamic
type MainMenuValues ¶
type MainMenuValues struct {
BassDensity float64 `json:"bassDensity"`
}
type ManiaStars ¶
func ReadManiaStars ¶
func ReadManiaStars() (ManiaStars, error)
type Metadata ¶
type Metadata struct { Artist string `json:"artist"` ArtistOriginal string `json:"artistOriginal"` Title string `json:"title"` TitleOriginal string `json:"titleOriginal"` Mapper string `json:"mapper"` Version string `json:"difficulty"` }
Metadata Map data
type Mods ¶
type Mods int
Mods represents zero or more mods of an osu! score.
const ( ModsNoFail Mods = 1 << iota ModsEasy ModsTouchDevice ModsHidden ModsHardRock ModsSuddenDeath ModsDoubleTime ModsRelax ModsHalfTime ModsNightcore ModsFlashlight ModsAutoplay ModsSpunOut ModsRelax2 // Autopilot ModsPerfect ModsKey4 ModsKey5 ModsKey6 ModsKey7 ModsKey8 ModsFadeIn ModsRandom ModsCinema ModsTargetPractice ModsKey9 ModsKeyCoop ModsKey1 ModsKey3 ModsKey2 ModsScoreV2 ModsMirror ModsKeyMod Mods = ModsKey1 | ModsKey2 | ModsKey3 | ModsKey4 | ModsKey5 | ModsKey6 | ModsKey7 | ModsKey8 | ModsKey9 ModsFreeModAllowed Mods = ModsNoFail | ModsEasy | ModsHidden | ModsHardRock | ModsSuddenDeath | ModsFlashlight | ModsFadeIn | ModsRelax | ModsSpunOut | ModsKeyMod ModsScoreIncrease Mods = ModsHidden | ModsHardRock | ModsDoubleTime | ModsFlashlight | ModsFadeIn )
Mods constants. Names are taken from official osu! documentation.
const ( NF Mods = ModsNoFail EZ Mods = ModsEasy TD Mods = ModsTouchDevice HD Mods = ModsHidden HR Mods = ModsHardRock SD Mods = ModsSuddenDeath DT Mods = ModsDoubleTime RX Mods = ModsRelax HT Mods = ModsHalfTime NC Mods = ModsNightcore FL Mods = ModsFlashlight SO Mods = ModsSpunOut PF Mods = ModsPerfect MR Mods = ModsMirror V2 Mods = ModsScoreV2 AT Mods = ModsAutoplay AP Mods = ModsRelax2 FI Mods = ModsFadeIn RD Mods = ModsRandom CN Mods = ModsCinema TP Mods = ModsTargetPractice CO Mods = ModsKeyCoop K1 Mods = ModsKey1 K2 Mods = ModsKey2 K3 Mods = ModsKey3 K4 Mods = ModsKey4 K5 Mods = ModsKey5 K6 Mods = ModsKey6 K7 Mods = ModsKey7 K8 Mods = ModsKey8 K9 Mods = ModsKey9 )
Convenience aliases.
type PreSongSelectAddresses ¶
type PreSongSelectAddresses struct { Status int64 `sig:"48 83 F8 04 73 1E"` SettingsClass int64 `sig:"83 E0 20 85 C0 7E 2F"` }
func (PreSongSelectAddresses) Settings ¶
func (PreSongSelectAddresses) Settings() string
type PreSongSelectData ¶
type PreSongSelectData struct {
Status uint32 `mem:"[Status - 0x4]"`
}
type ResultsScreenValues ¶
type TourneyValues ¶
type TourneyValues struct { Manager tourneyManager `json:"manager"` IPCClients []ipcClient `json:"ipcClients"` }