Loading...
Searching...
No Matches
FOnlineSearchSettingsAccelByte Class Reference
Inheritance diagram for FOnlineSearchSettingsAccelByte:

Public Member Functions

void Set (FName Key, const TArray< FString > &Value, EOnlineComparisonOp::Type InType, int32 ID)
void Set (FName Key, const TArray< double > &Value, EOnlineComparisonOp::Type InType, int32 ID)
void Set (FName Key, const TArray< FString > &Value, EOnlineComparisonOp::Type InType)
void Set (FName Key, const TArray< double > &Value, EOnlineComparisonOp::Type InType)
bool Get (FName Key, TArray< FString > &Value) const
bool Get (FName Key, TArray< double > &Value) const

Static Public Member Functions

static void Set (FOnlineSearchSettings &SearchSettings, FName Key, const TArray< FString > &Value, EOnlineComparisonOp::Type InType)
static void Set (FOnlineSearchSettings &SearchSettings, FName Key, const TArray< double > &Value, EOnlineComparisonOp::Type InType)
static void Set (FOnlineSearchSettings &SearchSettings, FName Key, const TArray< FString > &Value, EOnlineComparisonOp::Type InType, int32 ID)
static void Set (FOnlineSearchSettings &SearchSettings, FName Key, const TArray< double > &Value, EOnlineComparisonOp::Type InType, int32 ID)
static bool Get (const FOnlineSearchSettings &SearchSettings, FName Key, TArray< FString > &Value)
static bool Get (const FOnlineSearchSettings &SearchSettings, FName Key, TArray< double > &Value)
static bool Get (const FVariantData &Data, TArray< FString > &Value)
static bool Get (const FVariantData &Data, TArray< double > &Value)
template<typename T>
static bool GetInt (const FOnlineSearchSettings &SearchSettings, FName Key, T &OutValue)
static ESessionSettingsAccelByteArrayFieldType GetArrayFieldType (const FOnlineSearchSettings &SearchSettings, FName Key)
static ESessionSettingsAccelByteArrayFieldType GetArrayFieldType (const FVariantData &Data)

Member Function Documentation

◆ Get() [1/6]

bool FOnlineSearchSettingsAccelByte::Get ( const FOnlineSearchSettings & SearchSettings,
FName Key,
TArray< double > & Value )
static

Gets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to fetch setting from
Keykey for the setting
Valuevalue of the setting
Returns
true if found, false otherwise

◆ Get() [2/6]

bool FOnlineSearchSettingsAccelByte::Get ( const FOnlineSearchSettings & SearchSettings,
FName Key,
TArray< FString > & Value )
static

Gets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to fetch setting from
Keykey for the setting
Valuevalue of the setting
Returns
true if found, false otherwise

◆ Get() [3/6]

bool FOnlineSearchSettingsAccelByte::Get ( const FVariantData & Data,
TArray< double > & Value )
static

Gets an array-typed search setting value from variant data

Parameters
Datavariant data to get the value from
Valuevalue of the setting
Returns
a boolean indicating whether the value was retrieved

◆ Get() [4/6]

bool FOnlineSearchSettingsAccelByte::Get ( const FVariantData & Data,
TArray< FString > & Value )
static

Gets an array-typed search setting value from variant data

Parameters
Datavariant data to get the value from
Valuevalue of the setting
Returns
a boolean indicating whether the value was retrieved

◆ Get() [5/6]

bool FOnlineSearchSettingsAccelByte::Get ( FName Key,
TArray< double > & Value ) const

Gets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
Returns
true if found, false otherwise

◆ Get() [6/6]

bool FOnlineSearchSettingsAccelByte::Get ( FName Key,
TArray< FString > & Value ) const

Gets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
Returns
true if found, false otherwise

◆ GetArrayFieldType() [1/2]

ESessionSettingsAccelByteArrayFieldType FOnlineSearchSettingsAccelByte::GetArrayFieldType ( const FOnlineSearchSettings & SearchSettings,
FName Key )
static

Get the ESessionSettingsAccelByteArrayFieldType for a field

Parameters
SearchSettingssearch settings to get the type from
Keythe key for the setting
Returns
an ESessionSettingsAccelByteArrayFieldType enum value

◆ GetArrayFieldType() [2/2]

ESessionSettingsAccelByteArrayFieldType FOnlineSearchSettingsAccelByte::GetArrayFieldType ( const FVariantData & Data)
static

Get the ESessionSettingsAccelByteArrayFieldType for a VariantData field

Parameters
Datavariant data object to get the value from
Returns
an ESessionSettingsAccelByteArrayFieldType enum value

◆ GetInt()

template<typename T>
template ONLINESUBSYSTEMACCELBYTE_API bool FOnlineSearchSettingsAccelByte::GetInt ( const FOnlineSearchSettings & SearchSettings,
FName Key,
T & OutValue )
static

Get a search setting double value as an integer. Search settings across the OSS are stored as a double. However, due to limitations with FVariantData, integers cannot be retrieved from these double values, even if they are within range.

Parameters
SearchSettingssearch settings object to fetch the setting from
Keysetting key that we want to read
Valueoutput value that will be returned to the caller
Returns
boolean that is true if an integer could be grabbed, or false otherwise.

◆ Set() [1/8]

void FOnlineSearchSettingsAccelByte::Set ( FName Key,
const TArray< double > & Value,
EOnlineComparisonOp::Type InType )

Sets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison

◆ Set() [2/8]

void FOnlineSearchSettingsAccelByte::Set ( FName Key,
const TArray< double > & Value,
EOnlineComparisonOp::Type InType,
int32 ID )

Sets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison
IDID of comparison

◆ Set() [3/8]

void FOnlineSearchSettingsAccelByte::Set ( FName Key,
const TArray< FString > & Value,
EOnlineComparisonOp::Type InType )

Sets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison

◆ Set() [4/8]

void FOnlineSearchSettingsAccelByte::Set ( FName Key,
const TArray< FString > & Value,
EOnlineComparisonOp::Type InType,
int32 ID )

Sets a key value pair combination that defines a search parameter

Parameters
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison
IDID of comparison

◆ Set() [5/8]

void FOnlineSearchSettingsAccelByte::Set ( FOnlineSearchSettings & SearchSettings,
FName Key,
const TArray< double > & Value,
EOnlineComparisonOp::Type InType )
static

Sets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to apply to search parameter to
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison

◆ Set() [6/8]

void FOnlineSearchSettingsAccelByte::Set ( FOnlineSearchSettings & SearchSettings,
FName Key,
const TArray< double > & Value,
EOnlineComparisonOp::Type InType,
int32 ID )
static

Sets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to apply to search parameter to
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison

◆ Set() [7/8]

void FOnlineSearchSettingsAccelByte::Set ( FOnlineSearchSettings & SearchSettings,
FName Key,
const TArray< FString > & Value,
EOnlineComparisonOp::Type InType )
static

Sets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to apply to search parameter to
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison

◆ Set() [8/8]

void FOnlineSearchSettingsAccelByte::Set ( FOnlineSearchSettings & SearchSettings,
FName Key,
const TArray< FString > & Value,
EOnlineComparisonOp::Type InType,
int32 ID )
static

Sets a key value pair combination that defines a search parameter

Parameters
SearchSettingssearch settings to apply to search parameter to
Keykey for the setting
Valuevalue of the setting
InTypetype of comparison