20struct ScriptRawMessageInterface {
23 using RawTextType = ::std::vector<::ScriptModuleMinecraft::ScriptRawMessageInterface>;
25 using RawTextTypeWithStrings =
26 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>;
33 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> text;
34 ::ll::TypedStorage<8, 40, ::std::optional<::std::string>> translate;
41 ::ll::TypedStorage<8, 32, ::std::optional<::std::vector<::ScriptModuleMinecraft::ScriptRawMessageInterface>>>
43 ::ll::TypedStorage<8, 88, ::std::optional<::ScriptModuleMinecraft::ScriptRawMessageScoreInterface>> score;
49 MCAPI ScriptRawMessageInterface();
55 MCAPI ::ScriptModuleMinecraft::ScriptRawMessageInterface&
58 MCAPI ::ScriptModuleMinecraft::ScriptRawMessageInterface&
63 MCAPI ::Scripting::Result<::Json::Value, ::ScriptModuleMinecraft::ScriptRawMessageError>
64 resolveAsJson(
::Actor& recipient, ::CurrentCmdVersion commandVersion)
const;
66 MCAPI ::Scripting::Result<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageError>
67 resolveAsJsonString(
::Actor& recipient, ::CurrentCmdVersion commandVersion)
const;
69 MCAPI ::Json::Value toJson()
const;
71 MCAPI ::Json::Value toRawTextJson()
const;
73 MCAPI ::std::string toString()
const;
75 MCAPI ~ScriptRawMessageInterface();
81 MCAPI static ::Scripting::InterfaceBinding bind();
83 MCAPI static ::ScriptModuleMinecraft::ScriptRawMessageInterface fromJSON(
::Json::Value const& json);
85 MCAPI static ::ScriptModuleMinecraft::ScriptRawMessageInterface fromString(::std::string
const& str);
87 MCAPI static ::std::vector<::ScriptModuleMinecraft::ScriptRawMessageInterface> rawTextStringsToRawText(
88 ::std::vector<::std::variant<::std::string, ::ScriptModuleMinecraft::ScriptRawMessageInterface>>
const&