MatchmakingBrowser
Summary
| Members | Descriptions |
|---|---|
class URH_MatchmakingQueueInfo | Class to define a matchmaking queue. |
class URH_MatchmakingTemplateGroupInfo | Class to organize a matchmaking Templates information. |
class URH_InstanceLaunchTemplate | Class to organize a Instance Launch Templates information. |
class URH_MatchmakingBrowserCache | Simple container class to hold matchmaking data, does not have its own auth context, relies upon getting it from elsewhere during calls, so that it can be used to cache across multiple players. |
struct FRH_QueueSearchParams | Struct to define queue search parameters. |
struct FRH_QueueSearchResult | Struct to define queue search results. |
class URH_MatchmakingQueueInfo
class URH_MatchmakingQueueInfo
: public UObject
Class to define a matchmaking queue.
Summary
| Members | Descriptions |
|---|---|
public inline const FRHAPI_QueueConfig&GetQueueInfo() const | Gets the queue info. |
public inline const FString & GetETag() const | Gets the Etag for the queue info. |
public inline const FString & GetQueueId() const | The ID for the queue, should not be used for display purposes. |
public inline bool IsActive() const | Flag for whether or not the queue is active, and can be joined or sessions created from it. |
public inline int32 GetRankingType() const | Which rank this queue should use MMR from to make matches from, and update at the end of match (1v1 MMR or 2v2 MMR for example) |
public inline int32 GetNumSides() const | The number of sides a game in this queue will have (2 in a 1v1 and 3 in a 1v1v1 for example. |
public inline int32 GetMaxPlayersPerSide() const | The maximum number of players that can be on each team. |
public inline int32 GetMinPlayersPerSide() const | The minimum number of players that can be on each team. |
public inline int32 GetMaxQueueGroupSize() const | The maximum size of a group that can join this queue. |
public inline const FGuid & GetMatchMakingTemplateGroupId() const | ID for which group of matchmaking templates/rules will be used when joining this queue. |
public inline void ImportAPIQueue(const FRHAPI_QueueConfig & APIQueue,const FString & InETag) | Imports queue info from an API call. |
public inline FString GetDescription() const | Gets a description of the queue, display its id for debugging. |
Members
public inline const FRHAPI_QueueConfig&GetQueueInfo() const
Gets the queue info.
public inline const FString & GetETag() const
Gets the Etag for the queue info.
public inline const FString & GetQueueId() const
The ID for the queue, should not be used for display purposes.
public inline bool IsActive() const
Flag for whether or not the queue is active, and can be joined or sessions created from it.
public inline int32 GetRankingType() const
Which rank this queue should use MMR from to make matches from, and update at the end of match (1v1 MMR or 2v2 MMR for example)
public inline int32 GetNumSides() const
The number of sides a game in this queue will have (2 in a 1v1 and 3 in a 1v1v1 for example.
public inline int32 GetMaxPlayersPerSide() const
The maximum number of players that can be on each team.
public inline int32 GetMinPlayersPerSide() const
The minimum number of players that can be on each team.
public inline int32 GetMaxQueueGroupSize() const
The maximum size of a group that can join this queue.
public inline const FGuid & GetMatchMakingTemplateGroupId() const
ID for which group of matchmaking templates/rules will be used when joining this queue.
public inline void ImportAPIQueue(const FRHAPI_QueueConfig & APIQueue,const FString & InETag)
Imports queue info from an API call.
Parameters
-
APIQueueQueue info from API call. -
InETagETag from API call.
public inline FString GetDescription() const
Gets a description of the queue, display its id for debugging.
class URH_MatchmakingTemplateGroupInfo
class URH_MatchmakingTemplateGroupInfo
: public UObject
Class to organize a matchmaking Templates information.
Summary
| Members | Descriptions |
|---|---|
public inline const FRHAPI_MatchMakingTemplateGroup&GetInfo() const | Gets the template info. |
public inline const FString & GetETag() const | Gets the Etag for the template info. |
public inline const FGuid & GetTemplateGroupId() const | ID for this set of potential matchmaking templates. |
public inline TSet< int32 > GetRequiredItemIds() const | ** |
public inline const TArray< FGuid > GetPossibleInstanceLaunchTemplateIds() const | ID for which instance launch template this queue will use. |
public inline void ImportAPITemplateGroup(const FRHAPI_MatchMakingTemplateGroup & APITemplateGroup,const FString & InETag) | Imports template info from an API call. |
public inline FString GetDescription() const | Gets a description of the template, display its id for debugging. |
Members
public inline const FRHAPI_MatchMakingTemplateGroup&GetInfo() const
Gets the template info.
public inline const FString & GetETag() const
Gets the Etag for the template info.
public inline const FGuid & GetTemplateGroupId() const
ID for this set of potential matchmaking templates.
public inline TSet< int32 > GetRequiredItemIds() const
**
List of the different matchmaking templates that could be used. The config is chosen based on a set of rules in each MatchMakingTemplate object. If there are no rules, it’s the default template */
Set of all the item ids that are required to validate every rule contained in this template group
public inline const TArray< FGuid > GetPossibleInstanceLaunchTemplateIds() const
ID for which instance launch template this queue will use.
public inline void ImportAPITemplateGroup(const FRHAPI_MatchMakingTemplateGroup & APITemplateGroup,const FString & InETag)
Imports template info from an API call.
Parameters
-
APITemplateGroupTemplate info from API call. -
InETagETag from API call.
public inline FString GetDescription() const
Gets a description of the template, display its id for debugging.
class URH_InstanceLaunchTemplate
class URH_InstanceLaunchTemplate
: public UObject
Class to organize a Instance Launch Templates information.
Summary
| Members | Descriptions |
|---|---|
public inline const FRHAPI_InstanceLaunchTemplate&GetInfo() const | Gets the template info. |
public inline const FString & GetETag() const | Gets the Etag for the template info. |
public inline const FGuid & GetInstanceLaunchTemplateId() const | ID to uniquely identify this instance launch template. |
public inline const TMap< FString, FString > & GetCustomData() const | Custom data that will be passed to the session during the instance launch request. |
public inline void ImportAPIInstanceLaunchTemplate(const FRHAPI_InstanceLaunchTemplate & APITemplate,const FString & InETag) | Imports template info from an API call. |
public inline FString GetDescription() const | Gets a description of the template, display its id for debugging. |
Members
public inline const FRHAPI_InstanceLaunchTemplate&GetInfo() const
Gets the template info.
public inline const FString & GetETag() const
Gets the Etag for the template info.
public inline const FGuid & GetInstanceLaunchTemplateId() const
ID to uniquely identify this instance launch template.
public inline const TMap< FString, FString > & GetCustomData() const
Custom data that will be passed to the session during the instance launch request.
public inline void ImportAPIInstanceLaunchTemplate(const FRHAPI_InstanceLaunchTemplate & APITemplate,const FString & InETag)
Imports template info from an API call.
Parameters
-
APITemplateTemplate info from API call. -
InETagETag from API call.
public inline FString GetDescription() const
Gets a description of the template, display its id for debugging.
class URH_MatchmakingBrowserCache
class URH_MatchmakingBrowserCache
: public URH_GameInstanceSubsystemPlugin
Simple container class to hold matchmaking data, does not have its own auth context, relies upon getting it from elsewhere during calls, so that it can be used to cache across multiple players.
Summary
| Members | Descriptions |
|---|---|
public FRegionSettingsUpdatedDelegate OnRegionsUpdatedNative | Delegate to listen for matchmaking regions updated. |
public FRegionSettingsUpdatedDynamicDelegate OnRegionsUpdated | |
public URH_MatchmakingBrowserCache() | Default constructor. |
public void SearchQueues(const FRH_QueueSearchParams & params,FRH_OnQueueSearchCompleteDelegateBlock Delegate) | Search for queues. |
public inline void BLUEPRINT_SearchQueues(const FRH_QueueSearchParams & params,const FRH_OnQueueSearchCompleteDynamicDelegate & Delegate) | |
public void SearchMatchmakingTemplateGroup(const FGuid & TemplateId,FRH_OnGetMatchmakingTemplateGroupCompleteDelegateBlock Delegate) | Search for a matchmaking template. |
public inline void BLUEPRINT_SearchMatchmakingTemplateGroup(const FGuid & TemplateId,const FRH_OnGetMatchmakingTemplateGroupCompleteDynamicDelegate & Delegate) | |
public void SearchInstanceLaunchTemplate(const FGuid & TemplateId,FRH_OnGetInstanceLaunchTemplateCompleteDelegateBlock Delegate) | Search for an instance launch template. |
public inline void BLUEPRINT_SearchInstanceLaunchTemplate(const FGuid & TemplateId,const FRH_OnGetInstanceLaunchTemplateCompleteDynamicDelegate & Delegate) | |
public void SearchRegions(FRH_OnRegionSearchCompleteDelegateBlock Delegate) | Search for matchmaking regions. |
public inline void BLUEPRINT_SearchRegions(const FRH_OnRegionSearchCompleteDynamicDelegate & Delegate) | |
public inline URH_MatchmakingQueueInfo*GetQueue(const FString & QueueId) const | Get a cached queue by Queue Id. |
public inline FORCEINLINE TArray< URH_MatchmakingQueueInfo* >GetAllQueues() const | Get all cached queues. |
public inline URH_MatchmakingTemplateGroupInfo*GetMatchmakingTemplateGroup(const FGuid & TemplateGroupId) const | Get a cached matchmaking template by Template Id. |
public inline URH_InstanceLaunchTemplate*GetInstanceLaunchTemplate(const FGuid & InstanceLaunchTemplateId) const | Get a cached instance launch template by Template Id. |
public inline const TArray< FRHAPI_SiteSettings> &GetAllRegions() const | Get all cached matchmaking regions. |
public inline void ClearCache() | Clears the cache of all queues and templates. |
public void ImportAPIQueue(const FRHAPI_QueueConfig & APIQueue,const FString & ETag) | Imports queue info from an API call. |
public void ImportAPITemplateGroup(const FRHAPI_MatchMakingTemplateGroup & APITemplateGroup,const FString & ETag) | Imports template info from an API call. |
public void ImportAPIInstanceLaunchTemplate(const FRHAPI_InstanceLaunchTemplate & APITemplate,const FString & ETag) | Imports template info from an API call. |
protected TMap< FString, URH_MatchmakingQueueInfo* >QueueCache | Map of Queue Id to Queue Infos. |
protected TMap< FGuid, URH_MatchmakingTemplateGroupInfo* >TemplateGroupCache | Map of Template Id to Matchmaking Template Group Infos. |
protected TMap< FGuid, URH_InstanceLaunchTemplate* >InstanceLaunchTemplateCache | Map of Template Id to Instance Launch Template Infos. |
protected TArray< FRHAPI_SiteSettings>RegionsCache | Array of Regions. |
Members
public FRegionSettingsUpdatedDelegate OnRegionsUpdatedNative
Delegate to listen for matchmaking regions updated.
public FRegionSettingsUpdatedDynamicDelegate OnRegionsUpdated
public URH_MatchmakingBrowserCache()
Default constructor.
public void SearchQueues(const FRH_QueueSearchParams & params,FRH_OnQueueSearchCompleteDelegateBlock Delegate)
Search for queues.
Parameters
-
paramsThe search params to use for the given search. -
DelegateCallback with the results of the search.
public inline void BLUEPRINT_SearchQueues(const FRH_QueueSearchParams & params,const FRH_OnQueueSearchCompleteDynamicDelegate & Delegate)
public void SearchMatchmakingTemplateGroup(const FGuid & TemplateId,FRH_OnGetMatchmakingTemplateGroupCompleteDelegateBlock Delegate)
Search for a matchmaking template.
Parameters
-
TemplateIdThe matchmaking template to search for. -
DelegateCallback with the results of the search.
public inline void BLUEPRINT_SearchMatchmakingTemplateGroup(const FGuid & TemplateId,const FRH_OnGetMatchmakingTemplateGroupCompleteDynamicDelegate & Delegate)
public void SearchInstanceLaunchTemplate(const FGuid & TemplateId,FRH_OnGetInstanceLaunchTemplateCompleteDelegateBlock Delegate)
Search for an instance launch template.
Parameters
-
TemplateIdThe matchmaking template to search for. -
DelegateCallback with the results of the search.
public inline void BLUEPRINT_SearchInstanceLaunchTemplate(const FGuid & TemplateId,const FRH_OnGetInstanceLaunchTemplateCompleteDynamicDelegate & Delegate)
public void SearchRegions(FRH_OnRegionSearchCompleteDelegateBlock Delegate)
Search for matchmaking regions.
Parameters
DelegateCallback with the results of the search.
public inline void BLUEPRINT_SearchRegions(const FRH_OnRegionSearchCompleteDynamicDelegate & Delegate)
public inline URH_MatchmakingQueueInfo*GetQueue(const FString & QueueId) const
Get a cached queue by Queue Id.
public inline FORCEINLINE TArray< URH_MatchmakingQueueInfo* >GetAllQueues() const
Get all cached queues.
public inline URH_MatchmakingTemplateGroupInfo*GetMatchmakingTemplateGroup(const FGuid & TemplateGroupId) const
Get a cached matchmaking template by Template Id.
public inline URH_InstanceLaunchTemplate*GetInstanceLaunchTemplate(const FGuid & InstanceLaunchTemplateId) const
Get a cached instance launch template by Template Id.
public inline const TArray< FRHAPI_SiteSettings> &GetAllRegions() const
Get all cached matchmaking regions.
public inline void ClearCache()
Clears the cache of all queues and templates.
public void ImportAPIQueue(const FRHAPI_QueueConfig & APIQueue,const FString & ETag)
Imports queue info from an API call.
Parameters
-
APIQueueQueue info from API call. -
InETagETag from API call.
public void ImportAPITemplateGroup(const FRHAPI_MatchMakingTemplateGroup & APITemplateGroup,const FString & ETag)
Imports template info from an API call.
Parameters
-
APITemplateGroupTemplate info from API call. -
InETagETag from API call.
public void ImportAPIInstanceLaunchTemplate(const FRHAPI_InstanceLaunchTemplate & APITemplate,const FString & ETag)
Imports template info from an API call.
Parameters
-
APITemplateTemplate info from API call. -
InETagETag from API call.
protected TMap< FString, URH_MatchmakingQueueInfo* >QueueCache
Map of Queue Id to Queue Infos.
protected TMap< FGuid, URH_MatchmakingTemplateGroupInfo* >TemplateGroupCache
Map of Template Id to Matchmaking Template Group Infos.
protected TMap< FGuid, URH_InstanceLaunchTemplate* >InstanceLaunchTemplateCache
Map of Template Id to Instance Launch Template Infos.
protected TArray< FRHAPI_SiteSettings>RegionsCache
Array of Regions.
struct FRH_QueueSearchParams
Struct to define queue search parameters.
Summary
| Members | Descriptions |
|---|---|
public int32 Cursor | The Cursor location to start the search. |
public int32 PageSize | The size of page to return from the search. |
public inline FRH_QueueSearchParams() | Defautl constructor. |
public inline FString GetDescription() const | Gets a description of the search params for debugging. |
Members
public int32 Cursor
The Cursor location to start the search.
public int32 PageSize
The size of page to return from the search.
public inline FRH_QueueSearchParams()
Defautl constructor.
public inline FString GetDescription() const
Gets a description of the search params for debugging.
struct FRH_QueueSearchResult
Struct to define queue search results.
Summary
| Members | Descriptions |
|---|---|
public FRH_QueueSearchParams SearchParams | The params used to make the search request. |
public TArray< TWeakObjectPtr< URH_MatchmakingQueueInfo> >Queues | The queues returned by the search request. |
public inline FString GetDescription() const | Gets a description of the search result for debugging. |
Members
public FRH_QueueSearchParams SearchParams
The params used to make the search request.
public TArray< TWeakObjectPtr< URH_MatchmakingQueueInfo> >Queues
The queues returned by the search request.
public inline FString GetDescription() const
Gets a description of the search result for debugging.