Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
PVROFindServerTaskBase.h
Go to the documentation of this file.
1// Copyright(c) 2023 PixoVR, LLC. All Rights Reserved.
2
3#pragma once
4
6#include "PVROPackage.h"
7#include "Interfaces/IHttpRequest.h"
8#include "Interfaces/IHttpResponse.h"
9
10DECLARE_MULTICAST_DELEGATE_OneParam(FOnAsyncFindServersComplete, bool);
11typedef FOnAsyncFindServersComplete::FDelegate FOnAsyncFindServersCompleteDelegate;
12
14{
15private:
16
17 bool bInit;
18
20
22 : bInit(false)
24 , ElapsedTime(0.0f)
25 , SearchSettings(NULL)
26 {
27 }
28
30
32
33 TSharedPtr<class FOnlineSessionSearch> SearchSettings;
34
35public:
36
37 FPVROFindServerTaskBase(class FPVROSubsystem* InSubsystem, const TSharedPtr<class FOnlineSessionSearch>& InSearchSettings)
38 : FPVROAsyncTask(InSubsystem)
39 , bInit(false)
41 , ElapsedTime(0.0f)
42 , SearchSettings(InSearchSettings)
43 {
44 }
45
46 virtual void Tick() override;
47 virtual void Finalize() override;
48};
FOnAsyncFindServersComplete::FDelegate FOnAsyncFindServersCompleteDelegate
DECLARE_MULTICAST_DELEGATE_OneParam(FOnAsyncFindServersComplete, bool)
#define PACKAGE_SCOPE
Definition PVROPackage.h:12
FPVROFindServerTaskBase(class FPVROSubsystem *InSubsystem, const TSharedPtr< class FOnlineSessionSearch > &InSearchSettings)
TSharedPtr< class FOnlineSessionSearch > SearchSettings
virtual void Finalize() override
virtual void Tick() override