generated from gottyduke/SF_PluginTemplate
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f1ffb78
commit 1897634
Showing
10 changed files
with
568 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "extern/CommonLibSF"] | ||
path = extern/CommonLibSF | ||
url = https://github.com/Starfield-Reverse-Engineering/CommonLibSF |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule CommonLibSF
added at
e52044
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,7 @@ | |
|
||
namespace Hooks | ||
{ | ||
void Install() noexcept; | ||
void InstallMenuHook() noexcept; | ||
|
||
void InstallMainHook() noexcept; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
#pragma once | ||
|
||
namespace Plugin | ||
{ | ||
using namespace std::string_view_literals; | ||
|
||
static constexpr auto Name{ "StarfieldRichPresence"sv }; | ||
static constexpr auto Author{ "Alex Taxiera"sv }; | ||
static constexpr auto Version{ | ||
REL::Version{0, 0, 1, 0} | ||
}; | ||
} | ||
|
||
namespace SFSE | ||
{ | ||
constexpr REL::Version RUNTIME_SF_1_8_88(1, 8, 88, 0); | ||
} | ||
|
||
extern "C" | ||
{ | ||
__declspec(dllexport) SFSE::PluginVersionData SFSEPlugin_Version = { | ||
SFSE::PluginVersionData::kVersion, | ||
|
||
1, // version 1 | ||
"Starfield Rich Presence", | ||
"Alex Taxiera", | ||
|
||
1, // yes address independent | ||
0, // not structure independent | ||
{ SFSE::RUNTIME_SF_1_8_88.pack(), 0 }, | ||
|
||
0, // works with any version of the script extender. you probably do not need to put anything here | ||
0, 0, // set these reserved fields to 0 | ||
}; | ||
}; | ||
|
||
//SFSEPluginVersion = []() noexcept { | ||
// SFSE::PluginVersionData data{}; | ||
// | ||
// data.PluginVersion(Plugin::Version); | ||
// data.PluginName(Plugin::Name); | ||
// data.AuthorName(Plugin::Author); | ||
// data.UsesAddressLibrary(true); | ||
// data.IsLayoutDependent(true); | ||
// data.CompatibleVersions({ SFSE::RUNTIME_LATEST }); | ||
// | ||
// return data; | ||
//}(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.