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

Method GetAccountBusID

src/plugin/net/src/AFCNetClientService.cpp:364–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362}
363
364int AFCNetClientService::GetAccountBusID(const std::string& account)
365{
366 auto iter = account_bus_map_.find(account);
367 if (iter == account_bus_map_.end())
368 {
369 return -1;
370 }
371
372 return iter->second;
373}
374
375void AFCNetClientService::AddActorBusID(const AFGUID& actor, const int bus_id)
376{

Callers

nothing calls this directly

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected