A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
PixoLoginTypes.h
Go to the documentation of this file.
1// Copyright(c) Pixo Group. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "PixoLoginTypes.generated.h"
7
12UENUM(BlueprintType)
13enum class ELoginRequestReply : uint8
14{
15 Success,
26USTRUCT(BlueprintType)
27struct FPixoLoginInfo
28{
30
31 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
32 FString EMailAddress;
34 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
35 FString Password;
36
37 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
38 int32 ModuleID;
39
40 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Pixo HTTP")
41 bool Encrypted = false;
43 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
44 FDateTime LastTimeLoggedIn;
45
46 bool operator ==(const FPixoLoginInfo& Info1) const
47 {
48 return ((Info1.EMailAddress == EMailAddress) && (Info1.Password == Password) && (Info1.ModuleID == ModuleID));
49 }
50
51 bool operator ==(const FPixoLoginInfo& Info1)
52 {
53 return ((Info1.EMailAddress == EMailAddress) && (Info1.Password == Password) && (Info1.ModuleID == ModuleID));
54 }
55};
61USTRUCT(BlueprintType)
65
66 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
68};
69
74USTRUCT(BlueprintType)
75struct FPixoUser
76{
78
79 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
80 FString Email;
81
82 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
83 FString FirstName;
84
85 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
86 FString LastName;
87
88 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
89 FString MiddleName;
90
91 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
92 int32 ID;
93};
94
99USTRUCT(BlueprintType)
101{
103
104 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
105 int32 OrgID;
106
107 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
108 FString FirstName;
109
110 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
111 FString LastName;
112
113 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
114 int32 ID;
115
116 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
117 FString Role;
118
119 UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
120 bool MP;
121};
ELoginRequestReply
Enum representing the login request reply.
Structure representing admin information.
FString LastName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
bool MP
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
FString FirstName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
FString Role
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
int32 OrgID
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
int32 ID
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
Structure representing login information.
bool Encrypted
UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = "Pixo HTTP")
FString Password
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
FString EMailAddress
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
int32 ModuleID
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
FDateTime LastTimeLoggedIn
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
bool operator==(const FPixoLoginInfo &Info1) const
Structure representing login reply information.
ELoginRequestReply Reply
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Pixo HTTP")
Structure representing user information.
FString LastName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
FString Email
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
FString MiddleName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
int32 ID
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")
FString FirstName
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "User HTTP")