Navigation
API > API/Editor > API/Editor/PluginWarden > API/Editor/PluginWarden/IPluginWardenModule
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CheckEntitlementForPlugin
(
const FText& PluginFriendlyName, |
IPluginWardenModule.h | ||
void CheckEntitlementForPlugin
(
const FText& PluginFriendlyName, |
Ask the Unreal Engine Launcher if the user has authorization to use the given plug-in. | IPluginWardenModule.h |
CheckEntitlementForPlugin(const FText &, const FString &, const FString &, const FText &, EUnauthorizedErrorHandling, TFunction< void()>)
| Name | CheckEntitlementForPlugin |
| Type | function |
| Header File | /Engine/Source/Editor/PluginWarden/Public/IPluginWardenModule.h |
| Include Path | #include "IPluginWardenModule.h" |
void CheckEntitlementForPlugin
(
const FText & PluginFriendlyName,
const FString & PluginItemId,
const FString & PluginOfferId,
const FText & UnauthorizedMessageOverride,
EUnauthorizedErrorHandling UnauthorizedErrorHandling,
TFunction< void()> AuthorizedCallback
)
CheckEntitlementForPlugin(const FText &, const FString &, const FString &, const EEntitlementCacheLevelRequest, const FText &, EUnauthorizedErrorHandling, TFunction< void()>)
Description
Ask the Unreal Engine Launcher if the user has authorization to use the given plug-in. The authorized callback will only be called if the user is authorized to use the plug-in.WARNING ### WARNING ### WARNING ### WARNING ### WARNING
Do not gate the user in inline custom plug-in UI, like inside a customization in the details panel. Only use this to gate the user from opening a dialog or some other big explicit action that opens up into UI that is exclusively the domain of your plug-in. An example of a good place to use this would be inside of OpenAssetEditor(), in your derived version of FAssetTypeActions_Base for the custom assets your plug-in handles.WARNING ### WARNING ### WARNING ### WARNING ### WARNING
IPluginWardenModule::Get().CheckEntitlementForPlugin(LOCTEXT("AwesomePluginName", "My Awesome Plugin"), TEXT("PLUGIN_MARKETPLACE_GUID"), [&] () { // Code Here Will Run If Authorized });
| Name | CheckEntitlementForPlugin |
| Type | function |
| Header File | /Engine/Source/Editor/PluginWarden/Public/IPluginWardenModule.h |
| Include Path | #include "IPluginWardenModule.h" |
void CheckEntitlementForPlugin
(
const FText & PluginFriendlyName,
const FString & PluginItemId,
const FString & PluginOfferId,
const EEntitlementCacheLevelRequest CacheLevel,
const FText & UnauthorizedMessageOverride,
EUnauthorizedErrorHandling UnauthorizedErrorHandling,
TFunction< void()> AuthorizedCallback
)