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

Function MaaAgentClientConnect

source/MaaAgentClient/API/MaaAgentClient.cpp:127–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

125}
126
127MaaBool MaaAgentClientConnect(MaaAgentClient* client)
128{
129 LogFunc << VAR_VOIDP(client);
130
131 if (!client) {
132 LogError << "handle is null";
133 return false;
134 }
135
136 return client->connect();
137}
138
139MaaBool MaaAgentClientDisconnect(MaaAgentClient* client)
140{

Callers 3

mainFunction · 0.85
connectMethod · 0.85
runMethod · 0.85

Calls 1

connectMethod · 0.65

Tested by

no test coverage detected