Consider more UI elements as loading screens
This commit is contained in:
parent
3f947a5dd6
commit
94e85fc45e
@ -486,9 +486,16 @@ internal sealed unsafe class GameFunctions
|
|||||||
|
|
||||||
public bool IsLoadingScreenVisible()
|
public bool IsLoadingScreenVisible()
|
||||||
{
|
{
|
||||||
return _gameGui.TryGetAddonByName("FadeMiddle", out AtkUnitBase* fade) &&
|
if (_gameGui.TryGetAddonByName("FadeMiddle", out AtkUnitBase* fade) && fade->IsVisible)
|
||||||
LAddon.IsAddonReady(fade) &&
|
return true;
|
||||||
fade->IsVisible;
|
|
||||||
|
if (_gameGui.TryGetAddonByName("FadeBack", out fade) && fade->IsVisible)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (_gameGui.TryGetAddonByName("NowLoading", out fade) && fade->IsVisible)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public int GetFreeInventorySlots()
|
public int GetFreeInventorySlots()
|
||||||
|
Loading…
Reference in New Issue
Block a user