5#include "Interfaces/IPluginManager.h"
8#include "Editor/EditorEngine.h"
14 if (Subsystem !=
nullptr)
26 if (Subsystem !=
nullptr)
37 if (Subsystem !=
nullptr)
48 if (Subsystem !=
nullptr)
59 if (Subsystem !=
nullptr)
70 if (Subsystem !=
nullptr)
81 if (Subsystem !=
nullptr)
92 bool bIsLoggedIn =
false;
95 if (Subsystem !=
nullptr)
110 if (Subsystem !=
nullptr)
121 if (Subsystem !=
nullptr)
132 if (Subsystem !=
nullptr)
145 UWorld* World = WorldContextObject->GetWorld();
148 UGameInstance* GameInstance = World->GetGameInstance();
152 return GameInstance->GetSubsystem<
UApexAPI>();
UCLASS(BlueprintType, Blueprintable)
bool IsLoggedIn()
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API")
FString Platform
UPROPERTY(BlueprintReadOnly)
FString ClientIP
UPROPERTY(BlueprintReadOnly)
FGuid CurrentSessionGuid
UPROPERTY(BlueprintReadOnly)
FString ModuleVersion
UPROPERTY(BlueprintReadOnly)
FUserSessionData CurrentActiveLogin
UPROPERTY(BlueprintReadOnly)
FString DeviceModel
UPROPERTY(BlueprintReadOnly)
int LoadedModuleId
UPROPERTY(BlueprintReadWrite, Meta=(DisplayName="Module Id"))
FString DeviceId
UPROPERTY(BlueprintReadOnly)
bool bSessionInProgress
UPROPERTY(BlueprintReadOnly)
static bool IsSessionInProgress(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta=(WorldContext = "WorldContext...
static bool GetCurrentUser(UObject *WorldContextObject, FUserSessionData &OutUser)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta=(WorldContext = "WorldContext...
static FString GetDeviceId(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta = (WorldContext = "WorldConte...
static FString GetDeviceModel(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta = (WorldContext = "WorldConte...
static FString GetPlatform(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta = (WorldContext = "WorldConte...
static class UApexAPI * GetApexAPI(UObject *WorldContextObject)
static FString GetClientIP(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta = (WorldContext = "WorldConte...
static int GetModuleId(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta=(WorldContext = "WorldContext...
static bool IsUserLoggedIn(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta=(WorldContext = "WorldContext...
static FString GetAuthToken(UObject *WorldContextObject)
static bool GetCurrentSessionGuid(UObject *WorldContextObject, FGuid &OutCurrentSessionId)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta = (WorldContext = "WorldConte...
static FString GetModuleVersion(UObject *WorldContextObject)
UFUNCTION(BlueprintPure, BlueprintCallable, Category = "Apex|API", meta=(WorldContext = "WorldContext...
FString SessionToken
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Apex|User Session Data")