Advertisement
Guest User

Untitled

a guest
Dec 14th, 2020
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. GetUserCount from desc_manager
  2. void DESC_MANAGER::GetUserCount(int & iTotal, int ** paiEmpireUserCount, int & iLocalCount)
  3. {
  4. *paiEmpireUserCount = &m_aiEmpireUserCount[0];
  5.  
  6. int iCount = P2P_MANAGER::instance().GetCount();
  7. if (iCount < 0)
  8. {
  9. sys_err("P2P_MANAGER::instance().GetCount() == -1");
  10. }
  11. iTotal = m_iLocalUserCount + iCount;
  12. iLocalCount = m_iLocalUserCount;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement