4
Fork 0

Added "Report a bug" to the start menu

master
Eddoursul 2 years ago
parent bf2db76fd5
commit cdc19f4e52
  1. BIN
      SKSE/Plugins/EnderalSE.dll
  2. BIN
      interface/startmenu.swf
  3. BIN
      interface/translate_chinese.txt
  4. BIN
      interface/translate_english.txt
  5. BIN
      interface/translate_french.txt
  6. BIN
      interface/translate_german.txt
  7. BIN
      interface/translate_italian.txt
  8. BIN
      interface/translate_japanese.txt
  9. BIN
      interface/translate_korean.txt
  10. BIN
      interface/translate_russian.txt
  11. BIN
      interface/translate_spanish.txt
  12. 6
      source/Enderal DLL/src/EventListener.cpp
  13. 2
      source/Enderal DLL/src/Main.cpp

BIN
SKSE/Plugins/EnderalSE.dll (Stored with Git LFS)

Binary file not shown.

BIN
interface/startmenu.swf (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

@ -1,5 +1,6 @@
#include "EventListener.h"
#include "Util.h"
#include <shellapi.h>
auto EventListener::GetSingleton() -> EventListener*
{
@ -18,7 +19,10 @@ auto EventListener::ProcessEvent(
RE::BSTEventSource<SKSE::ModCallbackEvent>* a_eventSource)
-> RE::BSEventNotifyControl
{
//
if (a_event->eventName == "Enderal_OpenHelpURL") {
ShowWindow(GetForegroundWindow(), SW_MINIMIZE);
ShellExecuteA(NULL, "open", "https://discord.gg/s9H925auNN", NULL, NULL, SW_SHOWNORMAL);
}
return RE::BSEventNotifyControl::kContinue;
}

@ -65,7 +65,7 @@ namespace {
EventListener::Install();
} else if (message->type == MessagingInterface::kPostPostLoad) {
//
SKSE::GetModCallbackEventSource()->AddEventSink(EventListener::GetSingleton());
} else if (message->type == MessagingInterface::kDataLoaded) {
const auto dataHandler = RE::TESDataHandler::GetSingleton();
if (dataHandler) {

Loading…
Cancel
Save