Navigation
API > API/Plugins > API/Plugins/OnlineSubsystemUtils
| Name | UFindSessionsCallbackProxy |
| Type | class |
| Header File | /Engine/Plugins/Online/OnlineSubsystemUtils/Source/OnlineSubsystemUtils/Classes/FindSessionsCallbackProxy.h |
| Include Path | #include "FindSessionsCallbackProxy.h" |
Syntax
UCLASS (MinimalAPI)
class UFindSessionsCallbackProxy : public UOnlineBlueprintCallProxyBase
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintAsyncActionBase → UOnlineBlueprintCallProxyBase → UFindSessionsCallbackProxy
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UFindSessionsCallbackProxy
(
const FObjectInitializer& ObjectInitializer |
FindSessionsCallbackProxy.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnFailure | FBlueprintFindSessionsResultDelegate | Called when there is an unsuccessful query. | FindSessionsCallbackProxy.h |
|
| OnSuccess | FBlueprintFindSessionsResultDelegate | Called when there is a successful query. | FindSessionsCallbackProxy.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bUseLAN | bool | Whether or not to search LAN. | FindSessionsCallbackProxy.h | |
| bUseLobbies | bool | Whether or not to search for Lobbies instead of Sessions. | FindSessionsCallbackProxy.h | |
| Delegate | FOnFindSessionsCompleteDelegate | The delegate executed by the online subsystem. | FindSessionsCallbackProxy.h | |
| DelegateHandle | FDelegateHandle | Handle to the registered OnFindSessionsComplete delegate. | FindSessionsCallbackProxy.h | |
| MaxResults | int | Maximum number of results to return. | FindSessionsCallbackProxy.h | |
| PlayerControllerWeakPtr | TWeakObjectPtr< APlayerController > | The player controller triggering things. | FindSessionsCallbackProxy.h | |
| SearchObject | TSharedPtr< FOnlineSessionSearch > | Object to track search results. | FindSessionsCallbackProxy.h | |
| WorldContextObject | UObject * | The world context object in which this call is taking place. | FindSessionsCallbackProxy.h |
Functions
Public
Overridden from UBlueprintAsyncActionBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Activate() |
FindSessionsCallbackProxy.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static UFindSessionsCallbackProxy * FindSessions
(
UObject* WorldContextObject, |
Searches for advertised sessions with the default online subsystem. | FindSessionsCallbackProxy.h |
|
static int32 GetCurrentPlayers
(
const FBlueprintSessionResult& Result |
FindSessionsCallbackProxy.h |
|
|
static int32 GetMaxPlayers
(
const FBlueprintSessionResult& Result |
FindSessionsCallbackProxy.h |
|
|
static int32 GetPingInMs
(
const FBlueprintSessionResult& Result |
FindSessionsCallbackProxy.h |
|
|
static FString GetServerName
(
const FBlueprintSessionResult& Result |
FindSessionsCallbackProxy.h |
|