5#include "Channel/Filter.h"
6#include "CoreMinimal.h"
7#include "Kismet/BlueprintFunctionLibrary.h"
9#include "FilterBlueprintLibrary.generated.h"
12class STREAMCHAT_API UFilterBlueprintLibrary final : public UBlueprintFunctionLibrary
17 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter")
18 static FString ToJsonString(const
FFilter& Filter);
21 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$and (Filter)", CompactNodeTitle = "$and", Keywords = "&"))
24 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$or (Filter)", CompactNodeTitle = "$or", Keywords = "|"))
27 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$nor (Filter)", CompactNodeTitle = "$nor", Keywords = "not |"))
31 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$eq (Filter, integer)", Keywords = "= $eq"))
32 static
FFilter EqualInt(FName Key, int32 Value);
34 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$eq (Filter,
string)", Keywords = "= $eq"))
35 static
FFilter EqualString(FName Key, FString Value);
37 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$eq (Filter,
boolean)", Keywords = "= $eq"))
38 static
FFilter EqualBool(FName Key,
bool bValue);
41 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$ne (Filter, integer)", Keywords = "!= $neq"))
42 static
FFilter NotEqualInt(FName Key, int32 Value);
44 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$ne (Filter,
string)", Keywords = "!= $neq"))
45 static
FFilter NotEqualString(FName Key, FString Value);
47 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$ne (Filter,
boolean)", Keywords = "!= $neq"))
48 static
FFilter NotEqualBool(FName Key,
bool bValue);
51 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$gt (Filter)", Keywords = "> $gt"))
52 static
FFilter GreaterInt(FName Key, int32 Value);
55 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$gte (Filter)", Keywords = ">= $gte"))
56 static
FFilter GreaterOrEqualInt(FName Key, int32 Value);
59 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$lt (Filter)", Keywords = "> $lt"))
60 static
FFilter LessInt(FName Key, int32 Value);
63 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$lte (Filter)", Keywords = ">= $lte"))
64 static
FFilter LessOrEqualInt(FName Key, int32 Value);
67 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$in (Filter, integer)"))
68 static
FFilter InInt(FName Key, const TArray<int32>& Values);
70 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$in (Filter,
string)"))
71 static
FFilter InString(FName Key, const TArray<FString>& Values);
73 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$nin (Filter, integer)", Keywords = "not"))
74 static
FFilter NotInInt(FName Key, const TArray<int32>& Values);
76 UFUNCTION(BlueprintPure, Category = "Stream Chat|Filter", meta = (DisplayName = "$nin (Filter,
string)", Keywords = "not"))
77 static
FFilter NotInString(FName Key, const TArray<FString>& Values);
@ Or
Matches at least one of the values specified in an array.
@ Nor
Matches none of the values specified in an array.
@ And
Matches all the values specified in an array.
A filter used for querying channels.
Definition: Filter.h:75