LootLocker Unreal SDK 10.4.0
Game backend SDK for Unreal Engine
Loading...
Searching...
No Matches
LootLockerPlayerData.h
Go to the documentation of this file.
1// Copyright (c) 2021 LootLocker
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "LootLockerPlatformManager.h"
8#include "LootLockerPlayerData.generated.h"
9
10USTRUCT(BlueprintType, Category = "LootLocker")
11struct LOOTLOCKERSDK_API FLootLockerPlayerData
12{
13 GENERATED_BODY()
14public:
18 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
19 FString Token = "";
23 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
24 FString RefreshToken = "";
27 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
28 FString PlayerIdentifier = "";
31 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
32 FString PlayerUlid = "";
35 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
36 FString PlayerPublicUid = "";
40 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
41 FString PlayerName = "";
45 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
46 FString WhiteLabelEmail = "";
50 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
51 FString WhiteLabelToken = "";
55 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
56 FLootLockerPlatformRepresentation CurrentPlatform;
60 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
61 FString LastSignIn = "";
65 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
66 FString PlayerCreatedAt = "";
70 UPROPERTY(BlueprintReadOnly, VisibleAnywhere, Category = "LootLocker")
72
73
74 static FLootLockerPlayerData Create(const FString& token = "", const FString& refreshToken = "", const FString& playerIdentifier = "", const FString& playerUlid = "", const FString& playerPublicUid = "", const FString& playerName = "", const FString& whiteLabelEmail = "", const FString& whiteLabelToken = "", const FLootLockerPlatformRepresentation& currentPlatform = FLootLockerPlatformRepresentation(), const FString& lastSignIn = "", const FString& playerCreatedAt = "", const FLootLockerSessionOptionals& sessionOptionals = FLootLockerSessionOptionals())
75 {
77 NewObj.Token = token;
78 NewObj.RefreshToken = refreshToken;
79 NewObj.PlayerIdentifier = playerIdentifier;
80 NewObj.PlayerUlid = playerUlid;
81 NewObj.PlayerPublicUid = playerPublicUid;
82 NewObj.PlayerName = playerName;
83 NewObj.WhiteLabelEmail = whiteLabelEmail;
84 NewObj.WhiteLabelToken = whiteLabelToken;
85 NewObj.CurrentPlatform = currentPlatform;
86 NewObj.LastSignIn = lastSignIn;
87 NewObj.PlayerCreatedAt = playerCreatedAt;
88 NewObj.SessionOptionals = sessionOptionals;
89 return NewObj;
90 }
91};
Definition LootLockerPlayerData.h:12
FString PlayerIdentifier
Definition LootLockerPlayerData.h:28
FLootLockerSessionOptionals SessionOptionals
The session optionals that were used when starting the current session for this player.
Definition LootLockerPlayerData.h:71
FString PlayerName
The name of the player if any has been set.
Definition LootLockerPlayerData.h:41
FString LastSignIn
When this player was last authenticated.
Definition LootLockerPlayerData.h:61
FString PlayerPublicUid
Definition LootLockerPlayerData.h:36
FString Token
The session token stored for this player session.
Definition LootLockerPlayerData.h:19
FLootLockerPlatformRepresentation CurrentPlatform
The platform/authentication method used to authorize this player.
Definition LootLockerPlayerData.h:56
FString RefreshToken
The Token to use when refreshing the session (only present for authentication methods that support it...
Definition LootLockerPlayerData.h:24
FString WhiteLabelToken
If this player is authorized using white label, then this stores the token for authorizing the player...
Definition LootLockerPlayerData.h:51
FString WhiteLabelEmail
If this player is authorized using White Label, then this stores the email that was used.
Definition LootLockerPlayerData.h:46
FString PlayerUlid
Definition LootLockerPlayerData.h:32
FString PlayerCreatedAt
When this player was first created.
Definition LootLockerPlayerData.h:66
Optional parameters that can be sent when starting a session.
Definition LootLockerSessionOptionals.h:12