Updated offsets and fixed overlay issues due to the memory class not been able to get the hwnd correctly when starting the game
This commit is contained in:
@@ -108,6 +108,12 @@ bool pProcess::AttachWindow(const char* WindowName)
|
||||
return false;
|
||||
}
|
||||
|
||||
bool pProcess::UpdateHWND()
|
||||
{
|
||||
hwnd_ = this->GetWindowHandleFromProcessId(pid_);
|
||||
return hwnd_ == nullptr;
|
||||
}
|
||||
|
||||
ProcessModule pProcess::GetModule(const char* lModule)
|
||||
{
|
||||
std::wstring wideModule;
|
||||
|
||||
@@ -25,6 +25,7 @@ public:
|
||||
public:
|
||||
bool AttachProcess(const char* process_name);
|
||||
bool AttachWindow(const char* window_name);
|
||||
bool UpdateHWND();
|
||||
void Close();
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user