MCPcopy Create free account
hub / github.com/MaaXYZ/MaaFramework / MaaControllerPostInputText

Function MaaControllerPostInputText

source/Common/MaaController.cpp:130–145  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

128}
129
130MaaCtrlId MaaControllerPostInputText(MaaController* ctrl, const char* text)
131{
132 LogFunc << VAR_VOIDP(ctrl) << VAR(text);
133
134 if (!ctrl) {
135 LogError << "handle is null";
136 return MaaInvalidId;
137 }
138
139 if (!text) {
140 LogError << "text is null";
141 return MaaInvalidId;
142 }
143
144 return ctrl->post_input_text(text);
145}
146
147MaaCtrlId MaaControllerPostStartApp(MaaController* ctrl, const char* intent)
148{

Callers 1

post_input_textMethod · 0.85

Calls 1

post_input_textMethod · 0.45

Tested by

no test coverage detected