aboutsummaryrefslogtreecommitdiff
path: root/libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp')
-rw-r--r--libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp b/libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp
new file mode 100644
index 0000000..e40a3ae
--- /dev/null
+++ b/libs/game_bethesda/src/games/fallout4vr/fallout4vrgameplugins.cpp
@@ -0,0 +1,15 @@
+#include "fallout4vrgameplugins.h"
+
+using namespace MOBase;
+
+Fallout4VRGamePlugins::Fallout4VRGamePlugins(MOBase::IOrganizer* organizer)
+ : CreationGamePlugins(organizer)
+{}
+
+bool Fallout4VRGamePlugins::lightPluginsAreSupported()
+{
+ auto files = m_Organizer->findFiles("f4se\\plugins", {"falloutvresl.dll"});
+ if (files.isEmpty())
+ return false;
+ return true;
+}