| 802 | //} |
| 803 | |
| 804 | bool AFCGameNetModule::RemovePlayerGateInfo(const AFGUID& nRoleID) |
| 805 | { |
| 806 | //std::shared_ptr<GateBaseInfo> pBaseData = mRoleBaseData.find_value(nRoleID); |
| 807 | |
| 808 | //if (nullptr == pBaseData) |
| 809 | //{ |
| 810 | // return false; |
| 811 | //} |
| 812 | |
| 813 | //mRoleBaseData.erase(nRoleID); |
| 814 | |
| 815 | //std::shared_ptr<GateServerInfo> pServerData = mProxyMap.find_value(pBaseData->nGateID); |
| 816 | |
| 817 | //if (nullptr == pServerData) |
| 818 | //{ |
| 819 | // return false; |
| 820 | //} |
| 821 | |
| 822 | //pServerData->xRoleInfo.erase(nRoleID); |
| 823 | return true; |
| 824 | } |
| 825 | |
| 826 | //std::shared_ptr<AFIGameNetModule::GateBaseInfo> AFCGameNetModule::GetPlayerGateInfo(const AFGUID& nRoleID) |
| 827 | //{ |
nothing calls this directly
no outgoing calls
no test coverage detected