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

Method RemovePlayerGateInfo

src/server/game/src/AFCGameNetModule.cpp:804–824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

802//}
803
804bool 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//{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected