Added family sharing toggle

master
acidicoala 1 year ago
parent 71506bd03c
commit 297861ba88
No known key found for this signature in database
GPG Key ID: D24C6065B49C645B

@ -38,7 +38,9 @@ namespace koalageddon {
if (name == VSTDLIB_DLL) {
// VStdLib DLL handles Family Sharing functions
init_vstdlib_hooks();
if (smoke_api::config.unlock_family_sharing) {
init_vstdlib_hooks();
}
} else if (name == STEAMCLIENT_DLL) {
// SteamClient DLL handles unlocking functions
init_steamclient_hooks();

@ -27,6 +27,7 @@ namespace smoke_api {
struct Config {
uint32_t $version = 2;
bool logging = false;
bool unlock_family_sharing = true;
bool unlock_all = true;
Set<uint32_t> override;
Vector<uint32_t> dlc_ids;
@ -39,6 +40,7 @@ namespace smoke_api {
NLOHMANN_DEFINE_TYPE_INTRUSIVE_WITH_DEFAULT(
Config, $version, // NOLINT(misc-const-correctness)
logging,
unlock_family_sharing,
unlock_all,
override,
dlc_ids,

Loading…
Cancel
Save