LeviLamina
Loading...
Searching...
No Matches
PathUtility.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated forward declare list
6// clang-format off
7namespace Bedrock::DDUI::PathUtility { struct PathQueryError; }
8namespace cereal { class DynamicValue; }
9// clang-format on
10
11namespace Bedrock::DDUI::PathUtility {
12// functions
13// NOLINTBEGIN
14MCNAPI char const* getTypeString(::cereal::DynamicValue const& value);
15
16MCNAPI ::nonstd::
17 expected<::std::vector<::std::variant<::std::string, uint>>, ::Bedrock::DDUI::PathUtility::PathQueryError>
18 parsePath(::std::string const& wholePath);
19
20MCNAPI ::nonstd::expected<void, ::Bedrock::DDUI::PathUtility::PathQueryError> setPathOnDataStoreObject(
21 ::cereal::DynamicValue& originalObject,
22 ::std::string const& path,
23 ::std::variant<double, bool, ::std::string> const& newData,
24 ::std::string const& dataStoreName,
25 ::std::string const& propertyName
26);
27
28MCNAPI ::std::optional<::cereal::DynamicValue> stringToDynamicValue(::std::string const& s);
29// NOLINTEND
30
31} // namespace Bedrock::DDUI::PathUtility
Definition DynamicValue.h:12
Definition PathQueryError.h:7