Skip to content
RallyHere Docs
GitHub

RHAPI_MatchMakingTemplateV2

Summary

MembersDescriptions
struct FRHAPI_MatchMakingTemplateV2Configuration about what rules must be satisfied to use this template, and what matchmaking profiles the ticket will be a part of.

struct FRHAPI_MatchMakingTemplateV2

struct FRHAPI_MatchMakingTemplateV2
  : public FRHAPI_Model

Configuration about what rules must be satisfied to use this template, and what matchmaking profiles the ticket will be a part of.

Summary

MembersDescriptions
public FGuid MatchMakingTemplateId_OptionalID for this unique MatchMakingTemplate.
public bool MatchMakingTemplateId_IsSettrue if MatchMakingTemplateId_Optional has been set to a value
public ERHAPI_MMRGroupingMethod MmrGroupingMethodWhat method should be used to calculate a group’s MMR based on the individual player’s ranks.
public FRHAPI_MatchMakingRuleset Ruleset_Optional
public bool Ruleset_IsSettrue if Ruleset_Optional has been set to a value
public TArray< FRHAPI_MatchMakingProfileV2>ProfilesA list of which match making profiles are going to be created on the ticket.
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 FGuid & GetMatchMakingTemplateId()Gets the value of MatchMakingTemplateId_Optional, regardless of it having been set.
public inline const FGuid & GetMatchMakingTemplateId() constGets the value of MatchMakingTemplateId_Optional, regardless of it having been set.
public inline const FGuid & GetMatchMakingTemplateId(const FGuid & DefaultValue) constGets the value of MatchMakingTemplateId_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetMatchMakingTemplateId(FGuid & OutValue) constFills OutValue with the value of MatchMakingTemplateId_Optional and returns true if it has been set, otherwise returns false.
public inline FGuid * GetMatchMakingTemplateIdOrNull()Returns a pointer to MatchMakingTemplateId_Optional, if it has been set, otherwise returns nullptr.
public inline const FGuid * GetMatchMakingTemplateIdOrNull() constReturns a pointer to MatchMakingTemplateId_Optional, if it has been set, otherwise returns nullptr.
public inline void SetMatchMakingTemplateId(FGuid NewValue)Sets the value of MatchMakingTemplateId_Optional and also sets MatchMakingTemplateId_IsSet to true.
public inline void ClearMatchMakingTemplateId()Clears the value of MatchMakingTemplateId_Optional and sets MatchMakingTemplateId_IsSet to false.
public inline ERHAPI_MMRGroupingMethod & GetMmrGroupingMethod()Gets the value of MmrGroupingMethod.
public inline const ERHAPI_MMRGroupingMethod & GetMmrGroupingMethod() constGets the value of MmrGroupingMethod.
public inline void SetMmrGroupingMethod(ERHAPI_MMRGroupingMethod NewValue)Sets the value of MmrGroupingMethod.
public inline FRHAPI_MatchMakingRuleset&GetRuleset()Gets the value of Ruleset_Optional, regardless of it having been set.
public inline const FRHAPI_MatchMakingRuleset&GetRuleset() constGets the value of Ruleset_Optional, regardless of it having been set.
public inline const FRHAPI_MatchMakingRuleset&GetRuleset(const FRHAPI_MatchMakingRuleset & DefaultValue) constGets the value of Ruleset_Optional, if it has been set, otherwise it returns DefaultValue.
public inline bool GetRuleset(FRHAPI_MatchMakingRuleset & OutValue) constFills OutValue with the value of Ruleset_Optional and returns true if it has been set, otherwise returns false.
public inline FRHAPI_MatchMakingRuleset*GetRulesetOrNull()Returns a pointer to Ruleset_Optional, if it has been set, otherwise returns nullptr.
public inline const FRHAPI_MatchMakingRuleset*GetRulesetOrNull() constReturns a pointer to Ruleset_Optional, if it has been set, otherwise returns nullptr.
public inline void SetRuleset(FRHAPI_MatchMakingRuleset NewValue)Sets the value of Ruleset_Optional and also sets Ruleset_IsSet to true.
public inline void ClearRuleset()Clears the value of Ruleset_Optional and sets Ruleset_IsSet to false.
public inline TArray< FRHAPI_MatchMakingProfileV2> &GetProfiles()Gets the value of Profiles.
public inline const TArray< FRHAPI_MatchMakingProfileV2> &GetProfiles() constGets the value of Profiles.
public inline void SetProfiles(TArray< FRHAPI_MatchMakingProfileV2 > NewValue)Sets the value of Profiles.

Members

public FGuid MatchMakingTemplateId_Optional

ID for this unique MatchMakingTemplate.

public bool MatchMakingTemplateId_IsSet

true if MatchMakingTemplateId_Optional has been set to a value

public ERHAPI_MMRGroupingMethod MmrGroupingMethod

What method should be used to calculate a group’s MMR based on the individual player’s ranks.

public FRHAPI_MatchMakingRuleset Ruleset_Optional

public bool Ruleset_IsSet

true if Ruleset_Optional has been set to a value

public TArray< FRHAPI_MatchMakingProfileV2>Profiles

A list of which match making profiles are going to be created on the ticket.

public virtual bool FromJson(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(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 FGuid & GetMatchMakingTemplateId()

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

public inline const FGuid & GetMatchMakingTemplateId() const

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

public inline const FGuid & GetMatchMakingTemplateId(const FGuid & DefaultValue) const

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

public inline bool GetMatchMakingTemplateId(FGuid & OutValue) const

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

public inline FGuid * GetMatchMakingTemplateIdOrNull()

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

public inline const FGuid * GetMatchMakingTemplateIdOrNull() const

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

public inline void SetMatchMakingTemplateId(FGuid NewValue)

Sets the value of MatchMakingTemplateId_Optional and also sets MatchMakingTemplateId_IsSet to true.

public inline void ClearMatchMakingTemplateId()

Clears the value of MatchMakingTemplateId_Optional and sets MatchMakingTemplateId_IsSet to false.

public inline ERHAPI_MMRGroupingMethod & GetMmrGroupingMethod()

Gets the value of MmrGroupingMethod.

public inline const ERHAPI_MMRGroupingMethod & GetMmrGroupingMethod() const

Gets the value of MmrGroupingMethod.

public inline void SetMmrGroupingMethod(ERHAPI_MMRGroupingMethod NewValue)

Sets the value of MmrGroupingMethod.

public inline FRHAPI_MatchMakingRuleset&GetRuleset()

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

public inline const FRHAPI_MatchMakingRuleset&GetRuleset() const

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

public inline const FRHAPI_MatchMakingRuleset&GetRuleset(const FRHAPI_MatchMakingRuleset & DefaultValue) const

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

public inline bool GetRuleset(FRHAPI_MatchMakingRuleset & OutValue) const

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

public inline FRHAPI_MatchMakingRuleset*GetRulesetOrNull()

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

public inline const FRHAPI_MatchMakingRuleset*GetRulesetOrNull() const

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

public inline void SetRuleset(FRHAPI_MatchMakingRuleset NewValue)

Sets the value of Ruleset_Optional and also sets Ruleset_IsSet to true.

public inline void ClearRuleset()

Clears the value of Ruleset_Optional and sets Ruleset_IsSet to false.

public inline TArray< FRHAPI_MatchMakingProfileV2> &GetProfiles()

Gets the value of Profiles.

public inline const TArray< FRHAPI_MatchMakingProfileV2> &GetProfiles() const

Gets the value of Profiles.

public inline void SetProfiles(TArray< FRHAPI_MatchMakingProfileV2 > NewValue)

Sets the value of Profiles.