You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
#rnx #rb none #ROBOMERGE-SOURCE: CL 10869241 via CL 10869527 via CL 10869904 #ROBOMERGE-BOT: (v613-10869866) [CL 10870586 by ryan durand in Main branch]
32 lines
1.1 KiB
C++
32 lines
1.1 KiB
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "CoreMinimal.h"
|
|
#include "Modules/ModuleInterface.h"
|
|
|
|
class FBlueprintActionFilter;
|
|
struct FBlueprintActionInfo;
|
|
|
|
class FBlueprintGraphModule : public IModuleInterface
|
|
{
|
|
public:
|
|
DECLARE_DELEGATE_RetVal_TwoParams(bool, FActionMenuRejectionTest, FBlueprintActionFilter const&, FBlueprintActionInfo&);
|
|
/**
|
|
* Provides access to a list of additional rejection tests that will be
|
|
* utilized when constructing Blueprint context/action menus. Helpful to
|
|
* game modules, so they can inject their own custom filtering (and hide
|
|
* options that may be undesired for their specific project).
|
|
*
|
|
* These rejection tests will be ran after all the standard filter tests,
|
|
* and in the order that they are in this array.
|
|
*
|
|
* @return An array of additional rejection tests for FBlueprintActionFilter.
|
|
*/
|
|
BLUEPRINTGRAPH_API TArray<FActionMenuRejectionTest>& GetExtendedActionMenuFilters() { return ExtendedMenuFilters; }
|
|
|
|
virtual void ShutdownModule() override;
|
|
private:
|
|
TArray<FActionMenuRejectionTest> ExtendedMenuFilters;
|
|
};
|