Unreal Server SDK
v6.5.0
Server API ↗
Console ↗
Docs ↗
Sign Up
LootLocker Unreal Server SDK
6.5.0
Server-side backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerServerAuthRequest.h
Go to the documentation of this file.
1
// Copyright (c) 2021 LootLocker
2
3
#pragma once
4
5
#include "CoreMinimal.h"
6
#include "
LootLockerServerResponse.h
"
7
#include "LootLockerServerAuthRequest.generated.h"
8
9
//==================================================
10
// Request Definitions
11
//==================================================
12
USTRUCT(BlueprintType)
13
struct
FLootLockerServerAuthenticationRequest
14
{
15
GENERATED_BODY()
16
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer"
)
17
FString Game_version = "";
18
};
19
20
//==================================================
21
// Response Definitions
22
//==================================================
23
USTRUCT(BlueprintType)
24
struct
FLootLockerServerAuthenticationResponse
: public
FLootLockerServerResponse
25
{
26
GENERATED_BODY()
30
UPROPERTY(BlueprintReadWrite, Category =
"LootLockerServer"
)
31
FString Token = "";
32
};
33
34
USTRUCT(BlueprintType)
35
struct
FLootLockerServerMaintainSessionResponse
: public
FLootLockerServerResponse
36
{
37
GENERATED_BODY()
41
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category =
"LootLockerServer"
)
42
FString Pong = "";
43
};
44
45
//==================================================
46
// C++ Delegate Definitions
47
//==================================================
48
/*
49
C++ response delegate for start session responses
50
*/
51
DECLARE_DELEGATE_OneParam(
FLootLockerServerAuthResponseDelegate
,
FLootLockerServerAuthenticationResponse
);
52
/*
53
C++ response delegate for maintain session responses
54
*/
55
DECLARE_DELEGATE_OneParam(
FLootLockerServerMaintainSessionResponseDelegate
,
FLootLockerServerMaintainSessionResponse
);
56
57
//==================================================
58
// Interface Definition
59
//==================================================
60
61
UCLASS()
62
class LOOTLOCKERSERVERSDK_API
ULootLockerServerAuthRequest
: public UObject
63
{
64
public
:
65
GENERATED_BODY()
66
public
:
67
ULootLockerServerAuthRequest
();
68
69
public
:
70
static
FString
StartSession
(
const
FLootLockerServerAuthResponseDelegate
& OnCompletedRequest);
71
static
FString
MaintainSession
(
const
FLootLockerServerMaintainSessionResponseDelegate
& OnCompletedRequest);
72
};
FLootLockerServerMaintainSessionResponseDelegate
void(* FLootLockerServerMaintainSessionResponseDelegate)(FLootLockerServerMaintainSessionResponse)
Definition
LootLockerServerAuthRequest.h:55
FLootLockerServerAuthResponseDelegate
void(* FLootLockerServerAuthResponseDelegate)(FLootLockerServerAuthenticationResponse)
Definition
LootLockerServerAuthRequest.h:51
LootLockerServerResponse.h
ULootLockerServerAuthRequest
Definition
LootLockerServerAuthRequest.h:63
ULootLockerServerAuthRequest::StartSession
static FString StartSession(const FLootLockerServerAuthResponseDelegate &OnCompletedRequest)
ULootLockerServerAuthRequest::MaintainSession
static FString MaintainSession(const FLootLockerServerMaintainSessionResponseDelegate &OnCompletedRequest)
ULootLockerServerAuthRequest::ULootLockerServerAuthRequest
ULootLockerServerAuthRequest()
FLootLockerServerAuthenticationRequest
Definition
LootLockerServerAuthRequest.h:14
FLootLockerServerAuthenticationResponse
Definition
LootLockerServerAuthRequest.h:25
FLootLockerServerMaintainSessionResponse
Definition
LootLockerServerAuthRequest.h:36
FLootLockerServerResponse
The base response for all LootLocker Server responses.
Definition
LootLockerServerResponse.h:67
LootLockerServerSDK
Source
LootLockerServerSDK
Public
ServerAPI
LootLockerServerAuthRequest.h
Generated by
Doxygen
1.9.8 —
LootLocker