Class ModInstallFilter

#include <Geode/loader/Index.hpp>
classModInstallFilter{ ... }

Basic filter for listening to mod installation events. Always propagates the event down the chain

// Install "steve.hotdogs" and listen for its installation progress

// Create a listener that listens for when steve.hotdogs is being installed
auto listener = EventListener<ModInstallFilter>(+[](ModInstallEvent* ev) {
    // Check the event status using std::visit or other
}, ModInstallFilter("steve.hotdogs"));
// Get the latest version of steve.hotdogs from the index and install it
if (auto mod = Index::get()->getMajorItem("steve.hotdogs")) {
Public static methods0
Public member functions1
No description provided
Protected member functions0
Protected fields1
No description provided