21 static constexpr std::string_view
Directory =
"panorama/layout/custom_game/";
26 const std::string&
Resource() const noexcept {
return _resource; }
29 std::string_view
Name() const noexcept;
32 explicit
LayoutPath(std::
string resource) : _resource(std::move(resource)) {}
34 std::string _resource;
A layout resource the client will accept, checked before anything is spawned.
static Result< LayoutPath > Parse(std::string_view layout)
static constexpr std::string_view Directory
std::string_view Name() const noexcept
const std::string & Resource() const noexcept
std::expected< T, Error > Result