Added "Report a bug" to the start menu
This commit is contained in:
parent
bf2db76fd5
commit
cdc19f4e52
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
Binary file not shown.
BIN
interface/startmenu.swf
(Stored with Git LFS)
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…
Reference in New Issue
Block a user