mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-15 03:25:01 -05:00
make getGameVersion public (#797)
This commit is contained in:
parent
6510df7c85
commit
3e03978b1e
2 changed files with 10 additions and 0 deletions
|
@ -140,6 +140,12 @@ namespace geode {
|
|||
|
||||
void queueInMainThread(ScheduledFunction func);
|
||||
|
||||
/**
|
||||
* Returns the current game version.
|
||||
* @return The game version
|
||||
*/
|
||||
std::string getGameVersion();
|
||||
|
||||
friend class LoaderImpl;
|
||||
|
||||
friend Mod* takeNextLoaderMod();
|
||||
|
|
|
@ -73,6 +73,10 @@ void Loader::queueInMainThread(ScheduledFunction func) {
|
|||
return m_impl->queueInMainThread(std::move(func));
|
||||
}
|
||||
|
||||
std::string Loader::getGameVersion() {
|
||||
return m_impl->getGameVersion();
|
||||
}
|
||||
|
||||
Mod* Loader::takeNextMod() {
|
||||
return m_impl->takeNextMod();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue