ReXGlue SDK
Toggle main menu visibility
Loading...
Searching...
No Matches
title_paths.h
Go to the documentation of this file.
1
10
11
#pragma once
12
13
#include <filesystem>
14
#include <string>
15
16
#include <
rex/platform.h
>
17
#include <
rex/setting.h
>
18
19
namespace
rex::kernel
{
20
21
class
REX_KERNEL_API
TitlePaths final :
public
SettingOwner
{
22
public
:
23
REX_SETTING(std::filesystem::path, game_root,
""
,
24
"Game files, mounted as game:, read only unless game_writable is set"
, kUntilLaunch);
25
REX_SETTING(
bool
, game_writable,
false
,
"Mount game: read write instead of read only"
,
26
kUntilLaunch);
27
REX_SETTING(std::filesystem::path, update_root,
""
,
"Title update files, empty for none"
,
28
kUntilLaunch);
29
REX_SETTING(std::filesystem::path, metadata_root,
"{app.root}/metadata"
,
30
"Achievement icons and other title metadata"
, kUntilLaunch);
31
REX_SETTING(std::string, entry,
"default.xex"
,
32
"Executable under game: that TitleRuntime::Load runs, empty loads none"
,
33
kUntilLaunch);
34
REX_SETTING(std::string, imports,
""
,
35
"Files under game: the executable may import from, separated by |"
, kUntilLaunch);
36
37
TitlePaths();
38
};
39
40
}
// namespace rex::kernel
rex::SettingOwner::SettingOwner
SettingOwner(std::string_view scope)
rex::kernel
Definition
export.h:24
platform.h
Platform flags, packing macros and export markers.
REX_KERNEL_API
#define REX_KERNEL_API
Definition
platform.h:297
setting.h
Typed settings and the owners that declare them.
rex
kernel
title_paths.h
Generated by
1.18.0