载入中...
搜索中...
未找到
EditorHostProfile.cpp
浏览该文件的文档.
7 profile.features_ = HostFeature::ProjectDocuments | HostFeature::SourceAssets | HostFeature::RuntimeWorld |
28bool HostProfile::hasFeatures(HostFeature required) const { return (features_ & required) == required; }
UUID-backed identifier adapter for legacy textual boundaries.
Definition Identity.h:314
Upper capability boundary for one editor host.
Definition EditorHostProfile.h:51
static HostProfile runtimeBuilder()
Safe runtime profile that denies commands unless allow-listed.
Definition EditorHostProfile.cpp:15
static HostProfile developer()
Unrestricted developer profile used by legacy sessions.
Definition EditorHostProfile.cpp:5
void allowCommands(std::initializer_list< CommandId > ids)
Allow commands.
Definition EditorHostProfile.cpp:36
static HostProfile automation()
Headless profile that denies commands unless allow-listed.
Definition EditorHostProfile.cpp:21
Definition ActionPreviewController.cpp:6
HostFeature
Coarse host features used to discover and gate editor extensions.
Definition EditorHostProfile.h:18
@ SourceAssets
@ MultiplayerSubmit
@ SourceControl
@ ArbitraryScript
@ ProjectDocuments
@ UserCreations
@ BuildCook
@ DebugOverride
@ RuntimeWorld