MCPcopy Create free account
hub / github.com/Norbyte/bg3se / LoadGameVersion

Method LoadGameVersion

BG3Updater/Updater.cpp:496–508  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

494}
495
496void ScriptExtenderUpdater::LoadGameVersion()
497{
498 auto version = GetGameVersion();
499 if (!version && !exeDir_.empty()) {
500 auto exePath = exeDir_;
501 exePath += L"\\bg3.exe";
502 version = GetModuleVersion(exePath);
503 }
504
505 if (version) {
506 gameVersion_ = *version;
507 }
508}
509
510void ScriptExtenderUpdater::HookSDL()
511{

Callers

nothing calls this directly

Calls 3

GetGameVersionFunction · 0.85
GetModuleVersionFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected