Versions in this module Expand all Collapse all v0 v0.1.0 Jan 23, 2024 Changes in this version + const Uint16 + const Uint32 + const Uint64 + const Uint8 + func ReadUIntFromBuffer(bytes []byte, offset uint, size IntType) uint + type GameReader struct + func NewGameReader(process Process) *GameReader + func (gd *GameReader) GetData() data.Data + func (gd *GameReader) GetPlayerUnit(playerUnit uintptr) data.PlayerUnit + func (gd *GameReader) GetPlayerUnitPtr(roster data.Roster) (playerUnitPtr uintptr, corpse data.Corpse) + func (gd *GameReader) InCharacterSelectionScreen() bool + func (gd *GameReader) InGame() bool + func (gd *GameReader) Items(pu data.PlayerUnit, hover data.HoverData) data.Items + func (gd *GameReader) Monsters(playerPosition data.Position, hover data.HoverData) data.Monsters + func (gd *GameReader) Objects(playerPosition data.Position, hover data.HoverData) []data.Object + func (gd *GameReader) TerrorZones() (areas []area.Area) + type IntType uint + type Offset struct + Expansion uintptr + GameData uintptr + Hover uintptr + RosterOffset uintptr + UI uintptr + UnitTable uintptr + type Process struct + func NewProcess() (Process, error) + func (p Process) FindPattern(memory []byte, pattern, mask string) uintptr + func (p Process) GetPID() uint + func (p Process) ReadBytesFromMemory(address uintptr, size uint) []byte + func (p Process) ReadStringFromMemory(address uintptr, size uint) string + func (p Process) ReadUInt(address uintptr, size IntType) uint