add send packet function

This commit is contained in:
guiyomu-dev
2025-10-04 18:47:39 +02:00
parent ead8e9fbe3
commit 8c72ab6d50
4 changed files with 661 additions and 25 deletions

View File

@@ -14,7 +14,7 @@ import (
type GameReader struct {
offset Offset
Process
*Process
monstersLastUpdate time.Time
inventoryLastUpdate time.Time
@@ -39,7 +39,7 @@ var WidgetStateFlags = map[string]uint64{
"WeaponSwap": 0xF2D7CF8E9CC08212,
}
func NewGameReader(process Process) *GameReader {
func NewGameReader(process *Process) *GameReader {
return &GameReader{
offset: calculateOffsets(process),
Process: process,