Event posted whenever a logo sprite is created 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 ModItemUIEvent
#include <Geode/ui/GeodeUI.hpp>
classModItemUIEvent:publicgeode::Event{ ... }
Examples0
Public static methods0
Public member functions3
cocos2d::CCNode*getItem()const
Get the item itself
std::stringgetModID()const
Get the ID of the mod this logo is for
std::optional<geode::Mod*>getMod()const
If this logo is of an installed mod, get it