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

Method get_identifier

source/binding/NodeJS/src/apis/client.cpp:26–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24}
25
26std::string ClientImpl::get_identifier()
27{
28 StringBuffer buf;
29 if (!MaaAgentClientIdentifier(client, buf)) {
30 throw maajs::MaaError { "Client get identifier failed" };
31 }
32 return buf.str();
33}
34
35void ClientImpl::bind_resource(maajs::NativeObject<ResourceImpl> resource)
36{

Callers

nothing calls this directly

Calls 2

MaaAgentClientIdentifierFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected