MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / exec

Method exec

source/src/scriptinterpreter.cpp:1029–1040  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1027 return MessageBoxW(nullptr, String::toWString(text).c_str(), String::toWString(title).c_str(), style) == IDYES;
1028 }
1029};
1030/*
1031any title
1032any text
1033bool mode: false=single, true=mult
1034
1035str return
1036*/
1037struct QiFunc_edit_box : public QiFunc
1038{
1039 QiFunc_edit_box() : QiFunc(0, 3) {}
1040 QiVar exec(const std::vector<QiVar>& args, QiScriptInterpreter*) const override
1041 {
1042 std::string title("TextEditBox"); if (args.size() > 0) title = args[0].toString();
1043 std::string text; if (args.size() > 1) text = args[1].toString();

Callers

nothing calls this directly

Calls 3

toIntegerMethod · 0.80
toStringMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected