Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Misc
Inheritance Hierarchy
- TSharedFromThis
- FNamePermissionList
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Misc/NamePermissionList.h |
| Include | #include "Misc/NamePermissionList.h" |
Syntax
class FNamePermissionList : public TSharedFromThis< FNamePermissionList >
Variables
| Type | Name | Description | |
|---|---|---|---|
| TMap< FName, FPermissionListOwners > | AllowList | List of items to allow, if not empty all items will be filtered out unless they are in the list | |
| bool | bSuppressOnFilterChanged | Temporarily prevent delegate from being triggered | |
| TMap< FName, FPermissionListOwners > | DenyList | List if items to filter out | |
| FPermissionListOwners | DenyListAll | List of owner names that requested all items to be filtered out | |
| FSimpleMulticastDelegate | OnFilterChangedDelegate | Triggered when filter changes |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddAllowListItem
(
const FName OwnerName, |
Add item to allowlist after which all items not in the allowlist will be filtered out. | |
| bool | AddDenyListAll
(
const FName OwnerName |
Set to filter out all items. | |
| bool | AddDenyListItem
(
const FName OwnerName, |
Add item to DenyList, this specific item will be filtered out. | |
| bool | Append
(
const FNamePermissionList& Other |
Add the specified filters to this one. | |
| const TMap< FName, FPermissionListOwners > & | GetAllowList () |
Get raw allowlist | |
| const TMap< FName, FPermissionListOwners > & | GetDenyList () |
Get raw DenyList | |
| TArray< FName > | Gathers the names of all the owners in this DenyList. | ||
| bool | HasFiltering () |
True if has filters active | |
| bool | Are all items set to be filtered out | ||
| FSimpleMulticastDelegate & | Triggered when filter changes | ||
| bool | PassesFilter
(
const FName Item |
Returns true if passes filter restrictions using exact match | |
| bool | RemoveAllowListItem
(
const FName OwnerName, |
Removes a previously-added item from the allowlist. | |
| bool | RemoveDenyListItem
(
const FName OwnerName, |
Removes a previously-added item from the DenyList. | |
| bool | UnregisterOwner
(
const FName OwnerName |
Removes all filtering changes associated with a specific owner name. | |
| bool | UnregisterOwners
(
const TArray< FName >& OwnerNames |
Removes all filtering changes associated with the specified list of owner names. | |
| bool | UnregisterOwnersAndAppend
(
const TArray< FName >& OwnerNamesToRemove, |
Unregisters specified owners then adds specified filters in one operation (to avoid multiple filters changed events). |