MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / GetSuitableConnect

Method GetSuitableConnect

src/plugin/net/src/AFCNetClientService.cpp:343–352  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

341}
342
343std::shared_ptr<AFConnectionData> AFCNetClientService::GetSuitableConnect(const std::string& key)
344{
345 static AFVNode vnode(0, NULL_STR, 0, 0);
346 if (!GetServerNode(key, vnode))
347 {
348 return nullptr;
349 }
350
351 return GetConnectionInfo(vnode.bus_id);
352}
353
354void AFCNetClientService::AddAccountBusID(const std::string& account, const int bus_id)
355{

Callers 2

SendMsgByAppTypeMethod · 0.80
GetSuitProxyForEnterMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected