-
Notifications
You must be signed in to change notification settings - Fork 7
/
Element.hpp
33 lines (25 loc) · 861 Bytes
/
Element.hpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#pragma once
#include "ElementBase.hpp"
namespace Element //unmanaged code of elements, being replaced by ElementBase class (ElementBase.hpp)
{
struct Node {
int value;
int num_children;
struct Node** children;
};
void PrintHoveredElements();
UINT64 GetChildElement(UINT64 StartingElement);
UINT64 GetChildElementAtIndex(UINT64 Element, int index);
unsigned int GetElementId(UINT64 ElementAddr);
Entity* GetEntityAt(UINT64 ElementBase);
std::list<ElementBase*> GetScreenElements();
wchar_t* GetLabel(UINT64 ElementAddress);
bool HasLabel(UINT64 ElementAddress, std::wstring label);
bool IsSubstringLabelOnScreen(std::wstring label);
bool IsLabelOnScreen(std::wstring label);
};
namespace ElementIds
{
//const uint32_t Stash = 0x698; //likely not right
//const uint32_t TrialStingingDoubt = 0x238;
}