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

Method interact

source/MaaPiCli/CLI/interactor.cpp:234–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

232}
233
234void Interactor::interact()
235{
236 if (config_.is_first_time_use()) {
237 interact_for_first_time_use();
238 config_.save(user_path_);
239 }
240
241 while (true) {
242 print_config();
243 if (!interact_once()) {
244 break;
245 }
246 config_.save(user_path_);
247 }
248}
249
250const MAA_PROJECT_INTERFACE_NS::InterfaceData::Controller* Interactor::find_current_controller() const
251{

Callers 1

mainFunction · 0.80

Calls 1

saveMethod · 0.45

Tested by

no test coverage detected