public static async Task<bool> _CloseGameProhibitingElements()
{
var uie = FindGameProhibitingElements();
if (uie != null)
{
if (LastClickedElement == uie.Hash)
{
Logger.DBLog.InfoFormat("Failed to close Game Prohibiting Element {0}", uie.Name);
UIManager.CloseAllOpenFrames();
return true;
}
Logger.DBLog.InfoFormat("Closing Game Prohibiting Element {0}", uie.Name);
LastClickedElement = uie.Hash;
uie.Click();
return true;
}
LastClickedElement = 0;
ClosingUIElements = false;
return false;
}
internal static RunStatus CloseGameProhibitingElements()