Added a few OpenMenus, also HasMerc() (#60)
* wpList, LoadingScreen, GetSelectedCharacterName Credits to gogigogi1 * Class offset updated * TZ online * IsCorpse Offset * Added a few OpenMenus, also HasMerc() PortraitsShown,BeltRows,QuestLog,MercInventory,NewStats then func HasMerc() return true if we have merc.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
package data
|
||||
|
||||
import (
|
||||
"github.com/hectorgimenez/d2go/pkg/data/mode"
|
||||
"math"
|
||||
"strings"
|
||||
|
||||
"github.com/hectorgimenez/d2go/pkg/data/mode"
|
||||
|
||||
"github.com/hectorgimenez/d2go/pkg/data/quest"
|
||||
|
||||
"github.com/hectorgimenez/d2go/pkg/data/area"
|
||||
@@ -49,6 +50,7 @@ type Data struct {
|
||||
IsInCharCreationScreen bool
|
||||
IsInCharSelectionScreen bool
|
||||
IsInLobby bool
|
||||
HasMerc bool
|
||||
}
|
||||
|
||||
type Room struct {
|
||||
@@ -275,19 +277,25 @@ type PointOfInterest struct {
|
||||
}
|
||||
|
||||
type OpenMenus struct {
|
||||
Inventory bool
|
||||
LoadingScreen bool
|
||||
NPCInteract bool
|
||||
NPCShop bool
|
||||
Stash bool
|
||||
Waypoint bool
|
||||
MapShown bool
|
||||
SkillTree bool
|
||||
Character bool
|
||||
QuitMenu bool
|
||||
Cube bool
|
||||
SkillSelect bool
|
||||
Anvil bool
|
||||
Inventory bool
|
||||
LoadingScreen bool
|
||||
NPCInteract bool
|
||||
NPCShop bool
|
||||
Stash bool
|
||||
Waypoint bool
|
||||
MapShown bool
|
||||
NewSkills bool
|
||||
NewStats bool
|
||||
SkillTree bool
|
||||
Character bool
|
||||
QuitMenu bool
|
||||
Cube bool
|
||||
SkillSelect bool
|
||||
Anvil bool
|
||||
MercInventory bool
|
||||
BeltRows bool
|
||||
QuestLog bool
|
||||
PortraitsShown bool
|
||||
}
|
||||
|
||||
func (om OpenMenus) IsMenuOpen() bool {
|
||||
|
||||
Reference in New Issue
Block a user