LootLocker Unreal SDK 10.5.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerBanRequestHandler.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "CoreMinimal.h"
9#include "LootLockerBanRequestHandler.generated.h"
10
11//==================================================
12// Request / Response Definitions
13//==================================================
14
17
18USTRUCT(BlueprintType)
20{
21 GENERATED_BODY()
22 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
23 FString game_api_key = "";
24 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "LootLocker")
25 FString player_id = "";
26};
27
28USTRUCT(BlueprintType)
30{
31 GENERATED_BODY()
33 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
34 bool is_banned = false;
37 UPROPERTY(BlueprintReadWrite, EditAnywhere, Category = "LootLocker")
39};
40
42
43//==================================================
44// Delegate
45//==================================================
46
48
49//==================================================
50// Handler
51//==================================================
52
53UCLASS()
54class LOOTLOCKERSDK_API ULootLockerBanRequestHandler : public UObject
55{
56 GENERATED_BODY()
57public:
59
68 static FString GetPlayerBanStatus(const FString& PlayerUlid, const FLootLockerBanStatusDelegate& OnCompletedRequest);
69};
void(* FLootLockerBanStatusDelegate)(FLootLockerBanStatusResponse)
Definition LootLockerBanRequestHandler.h:47
Definition LootLockerBanRequestHandler.h:55
static FString GetPlayerBanStatus(const FString &PlayerUlid, const FLootLockerBanStatusDelegate &OnCompletedRequest)
Get the ban status for a player.
ULootLockerBanRequestHandler()
Definition LootLockerBanRequestHandler.h:58
Details about a player's active ban.
Definition LootLockerErrorData.h:11
Definition LootLockerBanRequestHandler.h:20
Definition LootLockerBanRequestHandler.h:30
Base response struct — every SDK callback receives a struct that derives from this.
Definition LootLockerResponse.h:19