Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- GetUserCount from desc_manager
- void DESC_MANAGER::GetUserCount(int & iTotal, int ** paiEmpireUserCount, int & iLocalCount)
- {
- *paiEmpireUserCount = &m_aiEmpireUserCount[0];
- int iCount = P2P_MANAGER::instance().GetCount();
- if (iCount < 0)
- {
- sys_err("P2P_MANAGER::instance().GetCount() == -1");
- }
- iTotal = m_iLocalUserCount + iCount;
- iLocalCount = m_iLocalUserCount;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement