3#include "mc/_HeaderOutputPredefine.h"
6#include "mc/server/commands/CurrentCmdVersion.h"
10namespace Json {
class Value; }
20fillCommands(::npc::CommandAction& cmd, ::std::vector<::std::string_view>
const& src, ::CurrentCmdVersion ver);
22MCAPI ::std::optional<::std::variant<::npc::CommandAction, ::npc::UrlAction>> fromJson(::Json::Value
const& root);
25MCAPI ::std::string_view getActionValue(::std::variant<::npc::CommandAction, ::npc::UrlAction>
const& action);
27MCAPI ::std::string_view getButtonLabel(::std::variant<::npc::CommandAction, ::npc::UrlAction>
const& action);
30MCAPI ::Json::Value toJson(::npc::CommandAction
const& action);
32MCAPI ::Json::Value toJson(::npc::ActionContainer
const& container);
34MCAPI ::Json::Value toJson(::npc::UrlAction
const& urlAction);
36MCAPI ::std::string toString(::npc::ActionContainer
const& container);
Definition ActionContainer.h:13
Definition CommandAction.h:17
Definition UrlAction.h:11