add player unit address
This commit is contained in:
@@ -134,6 +134,7 @@ type Position struct {
|
||||
}
|
||||
|
||||
type PlayerUnit struct {
|
||||
Address uintptr
|
||||
Name string
|
||||
ID UnitID
|
||||
Area area.ID
|
||||
|
||||
@@ -99,6 +99,7 @@ func (gd *GameReader) GetPlayerUnit(mainPlayerUnit RawPlayerUnit) data.PlayerUni
|
||||
}
|
||||
|
||||
d := data.PlayerUnit{
|
||||
Address: mainPlayerUnit.Address,
|
||||
Name: mainPlayerUnit.Name,
|
||||
ID: mainPlayerUnit.UnitID,
|
||||
Area: mainPlayerUnit.Area,
|
||||
|
||||
Reference in New Issue
Block a user