Documentation for the Unreal C++ Library
Loading...
Searching...
No Matches
PVROAsyncTaskManager.h
Go to the documentation of this file.
1// Copyright(c) 2023 PixoVR, LLC. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "OnlineAsyncTaskManager.h"
7#include "PVROPackage.h"
8
9// Indicates that the JSON file has wrong format.
10const FString ReplyInvalidJSON = TEXT("InvalidJSON");
11
12// Everything went OK.
13const FString ReplyOK = TEXT("OK");
14
15// Input/Output error. Issues reading stream.
16const FString ReplyIOError = TEXT("IOError");
17
18// Process is pending.
19const FString ReplyPending = TEXT("Pending");
20
21// Invalid ModuleID.
22const FString ReplyInvalidModuleID = TEXT("InvalidModuleID");
23
24
25class FPVROAsyncTask : public FOnlineAsyncTaskBasic<class FPVROSubsystem>
26{
30 {
31 }
32
33public:
34
35 FPVROAsyncTask(class FPVROSubsystem* InSubsystem)
36 : FOnlineAsyncTaskBasic(InSubsystem)
37 {
38 }
39
41 {
42 }
43};
44
46{
47protected:
48
50
51public:
52
53 FPVROAsyncTaskManager(class FPVROSubsystem* InOnlineSubsystem)
54 : OnlineSubsystem(InOnlineSubsystem)
55 {
56 }
57
59 {
60 }
61
62 virtual void OnlineTick() override;
63
64 static FString ServerURL;
65 static FString ServerVersion;
66};
const FString ReplyOK
const FString ReplyIOError
const FString ReplyPending
const FString ReplyInvalidModuleID
const FString ReplyInvalidJSON
#define PACKAGE_SCOPE
Definition PVROPackage.h:12
FPVROAsyncTask(class FPVROSubsystem *InSubsystem)
class FPVROSubsystem * OnlineSubsystem
virtual void OnlineTick() override
FPVROAsyncTaskManager(class FPVROSubsystem *InOnlineSubsystem)