generated from ricewind012/more-advanced-theme-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(plugin): add account sectionin profiles tab
- Loading branch information
1 parent
274ac79
commit a2fb23c
Showing
4 changed files
with
122 additions
and
19 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
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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
import { findModuleExport } from "@steambrew/client"; | ||
|
||
// TODO: are the ones in SteamTracking outdated ? why would they use Max ? | ||
export enum EParentalFeature { | ||
Invalid, | ||
Store, | ||
Community, | ||
Profile, | ||
Friends, | ||
News, | ||
Trading, | ||
Settings, | ||
Console, | ||
Browser, | ||
ParentalSetup, | ||
Library, | ||
Test, | ||
SiteLicense, | ||
KioskMode, | ||
Max, | ||
} | ||
|
||
interface ParentalFeaturesManager { | ||
BIsFeatureBlocked(feature: EParentalFeature): boolean; | ||
} | ||
|
||
export const CParentalFeaturesManager: ParentalFeaturesManager = | ||
findModuleExport((e) => e.GetFeatureBlockReason); |
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