Skip to content

RHAPI_MatchMakingRuleset

Summary

MembersDescriptions
struct FRHAPI_MatchMakingRulesetA collection of rules that are used to determine whether a MatchMakingTemplate should be used.

struct FRHAPI_MatchMakingRuleset

struct FRHAPI_MatchMakingRuleset
: public FRHAPI_Model

A collection of rules that are used to determine whether a MatchMakingTemplate should be used.

Summary

MembersDescriptions
public TArray< FRHAPI_Rule>RulesA list of the rules to be checked for this ruleset.
public ERHAPI_Determiner Determiner_OptionalDeterminer of how many rules must be satisfied in this rulest (all, any, one, none)
public bool Determiner_IsSettrue if Determiner_Optional has been set to a value
public virtual bool FromJson(const TSharedPtr< FJsonValue > & JsonValue)Fills this object with data from the passed in JSON.
public virtual void WriteJson(TSharedRef< TJsonWriter<>> & Writer) constWrites the data from this object into the specified JSON Writer stream.
public inline TArray< FRHAPI_Rule> &GetRules()Gets the value of Rules.
public inline const TArray< FRHAPI_Rule> &GetRules() constGets the value of Rules.
public inline void SetRules(TArray< FRHAPI_Rule > NewValue)Sets the value of Rules.
public inline ERHAPI_Determiner & GetDeterminer()Gets the value of Determiner_Optional, regardless of it having been set.
public inline const ERHAPI_Determiner & GetDeterminer() constGets the value of Determiner_Optional, regardless of it having been set.
public inline const ERHAPI_Determiner & GetDeterminer(const ERHAPI_Determiner & DefaultValue) constGets the value of Determiner_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetDeterminer(ERHAPI_Determiner & OutValue) constFills OutValue with the value of Determiner_Optional and returns true if it has been set, otherwise returns false.
public inline ERHAPI_Determiner * GetDeterminerOrNull()Returns a pointer to Determiner_Optional, if it has been set, otherwise returns nullptr.
public inline const ERHAPI_Determiner * GetDeterminerOrNull() constReturns a pointer to Determiner_Optional, if it has been set, otherwise returns nullptr.
public inline void SetDeterminer(ERHAPI_Determiner NewValue)Sets the value of Determiner_Optional and also sets Determiner_IsSet to true.
public inline void ClearDeterminer()Clears the value of Determiner_Optional and sets Determiner_IsSet to false.

Members

public TArray< FRHAPI_Rule>Rules

A list of the rules to be checked for this ruleset.


#### `public ERHAPI_Determiner `[`Determiner_Optional`](#structFRHAPI__MatchMakingRuleset_1a74ca9855c1709e5bdd47954fe18db642)

Determiner of how many rules must be satisfied in this rulest (all, any, one, none)


#### `public bool `[`Determiner_IsSet`](#structFRHAPI__MatchMakingRuleset_1ab27952b6758121d98c6c193f996fae6e)

true if Determiner_Optional has been set to a value


#### `public virtual bool `[`FromJson`](#structFRHAPI__MatchMakingRuleset_1a0f28034647f6b5adafd82a3549489c70)`(const TSharedPtr< FJsonValue > & JsonValue)`

Fills this object with data from the passed in JSON.

Parameters

  • JsonValue Data from the API call.

Returns

true if parsing of the JSON data was successful.


#### `public virtual void `[`WriteJson`](#structFRHAPI__MatchMakingRuleset_1acb32bcfdfac306d329be3cdd71e40e4e)`(TSharedRef< TJsonWriter<>> & Writer) const`

Writes the data from this object into the specified JSON Writer stream.

Parameters

  • Writer JSON Writer stream to push .

#### `public inline TArray< `[`FRHAPI_Rule`](RHAPI_Rule.md#structFRHAPI__Rule)` > & `[`GetRules`](#structFRHAPI__MatchMakingRuleset_1a02f9dfc75b2ceedb77dc171f93f29683)`()`

Gets the value of Rules.


#### `public inline const TArray< `[`FRHAPI_Rule`](RHAPI_Rule.md#structFRHAPI__Rule)` > & `[`GetRules`](#structFRHAPI__MatchMakingRuleset_1a30d5a11c789d4ca8a141fad42a84bcce)`() const`

Gets the value of Rules.


#### `public inline void `[`SetRules`](#structFRHAPI__MatchMakingRuleset_1a1ecb757823284accdc8f0277c345dc49)`(TArray< `[`FRHAPI_Rule`](RHAPI_Rule.md#structFRHAPI__Rule)` > NewValue)`

Sets the value of Rules.


#### `public inline ERHAPI_Determiner & `[`GetDeterminer`](#structFRHAPI__MatchMakingRuleset_1a52023e14aad3971fb54eb804c09d5666)`()`

Gets the value of Determiner_Optional, regardless of it having been set.


#### `public inline const ERHAPI_Determiner & `[`GetDeterminer`](#structFRHAPI__MatchMakingRuleset_1acf42a5782b5100020c053a91300768f6)`() const`

Gets the value of Determiner_Optional, regardless of it having been set.


#### `public inline const ERHAPI_Determiner & `[`GetDeterminer`](#structFRHAPI__MatchMakingRuleset_1a5538ca24eb8a3a5f688f737fb8abce7b)`(const ERHAPI_Determiner & DefaultValue) const`

Gets the value of Determiner_Optional, if it has been set, otherwise it returns DefaultValue.


#### `public inline bool `[`GetDeterminer`](#structFRHAPI__MatchMakingRuleset_1a5ca48a4e38e8d9a4227c3dfd6d08c35f)`(ERHAPI_Determiner & OutValue) const`

Fills OutValue with the value of Determiner_Optional and returns true if it has been set, otherwise returns false.


#### `public inline ERHAPI_Determiner * `[`GetDeterminerOrNull`](#structFRHAPI__MatchMakingRuleset_1a75e4e4b888c0118b8c724992f473c930)`()`

Returns a pointer to Determiner_Optional, if it has been set, otherwise returns nullptr.


#### `public inline const ERHAPI_Determiner * `[`GetDeterminerOrNull`](#structFRHAPI__MatchMakingRuleset_1aed30508ce30d948af980f1ed840d9f4e)`() const`

Returns a pointer to Determiner_Optional, if it has been set, otherwise returns nullptr.


#### `public inline void `[`SetDeterminer`](#structFRHAPI__MatchMakingRuleset_1a30489b3b244e528dd7ec8ffefe49e1b7)`(ERHAPI_Determiner NewValue)`

Sets the value of Determiner_Optional and also sets Determiner_IsSet to true.


#### `public inline void `[`ClearDeterminer`](#structFRHAPI__MatchMakingRuleset_1a48e9ee08c491fb294cc3167b406e7e41)`()`

Clears the value of Determiner_Optional and sets Determiner_IsSet to false.