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