You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
27 lines
811 B
C++
27 lines
811 B
C++
// Copyright Epic Games, Inc. All Rights Reserved.
|
|
|
|
#pragma once
|
|
|
|
#include "Pch.h"
|
|
#include "Foundation.h"
|
|
|
|
class FStoreSettings
|
|
{
|
|
public:
|
|
FPath SettingsFile; // Path to settings file
|
|
FPath StoreDir; // Path to active store
|
|
TArray<FPath> AdditionalWatchDirs; // Additional directories to watch
|
|
int32 StorePort = 1989; // Changes doesn't take effect until restart
|
|
int32 RecorderPort = 1981; // Changes doesn't take effect until restart
|
|
int32 ThreadCount = 0; // <=0:logical CPU count
|
|
|
|
void ReadFromSettings(const FPath& Path);
|
|
void WriteToSettingsFile() const;
|
|
void ApplySettingsFromCbor(const uint8* Buffer, uint32 NumBytes);
|
|
void SerializeToCbor(TArray<uint8>& OutBuffer) const;
|
|
uint32 GetChangeSerial() const { return ChangeSerial; }
|
|
|
|
private:
|
|
uint32 ChangeSerial = 1;
|
|
};
|