Event posted whenever a popup is opened for a mod. Allows mods to modify the Geode UI. See the tutorial on Geode UI modification for very important notes on these events!
Class ModPopupUIEvent
#include <Geode/ui/GeodeUI.hpp>
classModPopupUIEvent:publicgeode::Event{ ... }
Examples0
Public static methods0
Public member functions3
FLAlertLayer*getPopup()const
Get the popup itself
std::stringgetModID()const
Get the ID of the mod this popup is for
std::optional<geode::Mod*>getMod()const
If this popup is of an installed mod, get it