Ark Server API (ASA) - Wiki
|
#include <NamePermissionList.h>
Protected Member Functions | |
void | VerifyItemMatchesListType (const FStringView Item) const |
Protected Member Functions inherited from TSharedFromThis< FPathPermissionList > | |
TSharedFromThis () | |
TSharedFromThis (TSharedFromThis const &) | |
FORCEINLINE TSharedFromThis & | operator= (TSharedFromThis const &) |
~TSharedFromThis () | |
Additional Inherited Members | |
Static Protected Member Functions inherited from TSharedFromThis< FPathPermissionList > | |
static FORCEINLINE TSharedRef< OtherType, Mode > | SharedThis (OtherType *ThisPtr) |
static FORCEINLINE TSharedRef< OtherType const, Mode > | SharedThis (const OtherType *ThisPtr) |
Definition at line 125 of file NamePermissionList.h.
|
inline |
Definition at line 128 of file NamePermissionList.h.
|
inlinevirtual |
Definition at line 132 of file NamePermissionList.h.
Add item to allowlist after which all items not in the allowlist will be filtered out.
bool FPathPermissionList::AddAllowListItem | ( | const FName | OwnerName, |
const FStringView | Item ) |
Add item to allowlist after which all items not in the allowlist will be filtered out.
Add item to allowlist after which all items not in the allowlist will be filtered out.
Set to filter out all items.
Add item to DenyList, this specific item will be filtered out.
bool FPathPermissionList::AddDenyListItem | ( | const FName | OwnerName, |
const FStringView | Item ) |
Add item to DenyList, this specific item will be filtered out.
Add item to DenyList, this specific item will be filtered out.
bool FPathPermissionList::Append | ( | const FPathPermissionList & | Other | ) |
Add the specified filters to this one. Rules are not applied, direct append lists.
FPathPermissionList FPathPermissionList::CombinePathFilters | ( | const FPathPermissionList & | OtherFilter | ) | const |
Combine two filters. Result will contain all DenyList paths combined. Result will contain AllowList paths that pass both filters.
|
inline |
Get raw allowlist
Definition at line 272 of file NamePermissionList.h.
|
inline |
Get raw DenyList
Definition at line 269 of file NamePermissionList.h.
Gathers the names of all the owners in this DenyList.
bool FPathPermissionList::HasFiltering | ( | ) | const |
True if has filters active
|
inline |
Are all items set to be filtered out
Definition at line 275 of file NamePermissionList.h.
|
inline |
Triggered when filter changes
Definition at line 278 of file NamePermissionList.h.
Returns true if passes filter restrictions using exact match
bool FPathPermissionList::PassesFilter | ( | const FStringView | Item | ) | const |
Returns true if passes filter restrictions using exact match
Returns true if passes filter restrictions using exact match
bool FPathPermissionList::PassesStartsWithFilter | ( | const FName | Item, |
const bool | bAllowParentPaths = false ) const |
Returns true if passes filter restrictions for path
bool FPathPermissionList::PassesStartsWithFilter | ( | const FStringView | Item, |
const bool | bAllowParentPaths = false ) const |
Returns true if passes filter restrictions for path
bool FPathPermissionList::PassesStartsWithFilter | ( | const TCHAR * | Item, |
const bool | bAllowParentPaths = false ) const |
Returns true if passes filter restrictions for path
Remove item from the AllowList
bool FPathPermissionList::RemoveAllowListItem | ( | const FName | OwnerName, |
const FStringView | Item ) |
Remove item from the AllowList
Remove item from the AllowList
Remove item from the DenyList
bool FPathPermissionList::RemoveDenyListItem | ( | const FName | OwnerName, |
const FStringView | Item ) |
Remove item from the DenyList
Remove item from the DenyList
Removes all filtering changes associated with a specific owner name.
Removes all filtering changes associated with the specified list of owner names.
bool FPathPermissionList::UnregisterOwnersAndAppend | ( | const TArray< FName > & | OwnerNamesToRemove, |
const FPathPermissionList & | FiltersToAdd ) |
Unregisters specified owners then adds specified filters in one operation (to avoid multiple filters changed events).
|
protected |
Checks if an item is of a valid format for this list
|
protected |
List of items to allow, if not empty all items will be filtered out unless they are in the list
Definition at line 292 of file NamePermissionList.h.
Temporarily prevent delegate from being triggered
Definition at line 301 of file NamePermissionList.h.
|
protected |
List if items to filter out
Definition at line 289 of file NamePermissionList.h.
|
protected |
List of owner names that requested all items to be filtered out
Definition at line 295 of file NamePermissionList.h.
|
protected |
Type of paths this list represent
Definition at line 304 of file NamePermissionList.h.
|
protected |
Triggered when filter changes
Definition at line 298 of file NamePermissionList.h.