add new location types and enhance inventory structure for shared stash support and DLC support.

This commit is contained in:
crazywh1t3
2026-02-13 22:28:16 +02:00
parent 828db2029f
commit 211abf01f0
4 changed files with 102 additions and 29 deletions

View File

@@ -72,6 +72,11 @@ func (p *Process) Close() error {
return windows.CloseHandle(p.handler)
}
// ModuleBaseAddress returns the base address of the D2R module.
func (p *Process) ModuleBaseAddress() uintptr {
return p.moduleBaseAddressPtr
}
func getGameModule() (ModuleInfo, error) {
processes := make([]uint32, 2048)
length := uint32(0)