do a few v4 todos

This commit is contained in:
matcool 2024-11-10 00:43:06 -03:00
parent 31d7c9d099
commit 5b10a91d8c
3 changed files with 0 additions and 5 deletions

View file

@ -157,7 +157,6 @@ namespace geode {
std::vector<std::string> getSettingKeys() const; std::vector<std::string> getSettingKeys() const;
bool hasSetting(std::string_view const key) const; bool hasSetting(std::string_view const key) const;
// todo in v4: possibly rename this to getSetting?
/** /**
* Get the definition of a setting, or null if the setting was not found, * Get the definition of a setting, or null if the setting was not found,
* or if it's a custom setting that has not yet been registered using * or if it's a custom setting that has not yet been registered using

View file

@ -10,9 +10,6 @@ namespace geode {
enum class ModEventType { enum class ModEventType {
Loaded, Loaded,
Unloaded,
Enabled,
Disabled,
DataLoaded, DataLoaded,
DataSaved, DataSaved,
}; };

View file

@ -321,7 +321,6 @@ Result<> Mod::Impl::loadBinary() {
ModStateEvent(m_self, ModEventType::Loaded).post(); ModStateEvent(m_self, ModEventType::Loaded).post();
ModStateEvent(m_self, ModEventType::Enabled).post();
ModStateEvent(m_self, ModEventType::DataLoaded).post(); ModStateEvent(m_self, ModEventType::DataLoaded).post();
m_isCurrentlyLoading = false; m_isCurrentlyLoading = false;