Unreal access to the PixoVR Platform
Loading...
Searching...
No Matches
PPlatformCoreSubsystem.h
Go to the documentation of this file.
1// Copyright 2023 PixoVR Corp. All Rights Reserved.
2
3#pragma once
4
5#include "CoreMinimal.h"
6#include "Subsystems/EngineSubsystem.h"
7#include "PPlatformCoreSubsystem.generated.h"
8
9UCLASS(BlueprintType, Blueprintable, DisplayName = "PixoVR Platfor Core Subsystem")
10class PIXOPLATFORMCORE_API UPPlatformCoreSubsystem : public UEngineSubsystem
11{
12 GENERATED_BODY()
13
14public:
17 virtual void Initialize(FSubsystemCollectionBase& Collection) override;
18
19 UFUNCTION(BlueprintCallable, Category = "Pixo Platform")
20 bool TryChangeSettingsSection(const FString& Section);
21
22public:
23 void AddJsonToPackage();
24 void LoadFromConfigJson();
25
26 bool GetSettingsFromRegion(const FString& Region);
27private:
28
29 void PopulateSettings();
30
31 TSharedPtr<FJsonObject> ConfigurationJsonObject;
32};
UCLASS(BlueprintType, Blueprintable, DisplayName = "PixoVR Platfor Core Subsystem")
TSharedPtr< FJsonObject > ConfigurationJsonObject