A Demo Project for the UnrealEngineSDK
Loading...
Searching...
No Matches
ApexSDKSettings.h
Go to the documentation of this file.
1// Copyright 2022 PixoVR Corp. All Rights Reserved.
2
3#pragma once
4
5#include "ApexSDKSettings.generated.h"
6
7UENUM(BlueprintType)
8enum class EPVRVersionFields : uint8
9{
10 AndroidStoreVersion UMETA(DisplayName = "Android Store Version"),
11 PixoVRPluginVersion UMETA(DisplayName = "PixoVR Plugin Version")
12};
13
14UCLASS(config = Engine, defaultconfig)
15class APEXSDK_API UApexSDKSettings : public UObject
16{
17 GENERATED_UCLASS_BODY()
18
19public:
21 UPROPERTY(Config, EditAnywhere, Category = "Apex")
22 FString ServerURI;
25 UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Module ID"))
26 int ModuleId;
27
28 UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Module Version"))
29 FString ModuleVersion;
30
32 UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Sync Module Version", Tooltip = "If sync is enabled, this will make at least the Android and Project version match the Module version. See Synchronized Version Fields"))
33 bool bSyncVersion;
34
36 UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Additional Synchronized Version Fields", Tooltip = "Additional version fields that are synchronized with the module version."))
37 TArray<EPVRVersionFields> AdditionalVersionFields;
38
39#if WITH_EDITORONLY_DATA
40 virtual void PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) override;
41
42 virtual void UpdateVersion(const TArray<FString>& VersionParts, const TArray<EPVRVersionFields>& Fields);
43#endif
44
45 bool CheckModuleVersion();
46private:
47 bool GetModuleVersionArray(FString Version, TArray<FString>& ModuleVersionArray);
48};
EPVRVersionFields
UENUM(BlueprintType)
UCLASS(config = Engine, defaultconfig)
bool bSyncVersion
UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Sync Module Version",...
FString ModuleVersion
UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Module Version"))
int ModuleId
UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Module ID"))
TArray< EPVRVersionFields > AdditionalVersionFields
UPROPERTY(Config, EditAnywhere, Category = "Apex", meta = (DisplayName = "Additional Synchronized Ver...
FString ServerURI
UPROPERTY(Config, EditAnywhere, Category = "Apex")