| 24 | } |
| 25 | |
| 26 | std::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 | |
| 35 | void ClientImpl::bind_resource(maajs::NativeObject<ResourceImpl> resource) |
| 36 | { |
nothing calls this directly
no test coverage detected