| 362 | } |
| 363 | |
| 364 | int 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 | |
| 375 | void AFCNetClientService::AddActorBusID(const AFGUID& actor, const int bus_id) |
| 376 | { |