counters.h 671 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _COUNTERS_H_
  2. #define _COUNTERS_H_
  3. typedef struct _LOBBY_COUNTERS
  4. {
  5. DWORD cLogins;
  6. DWORD cLogoffs;
  7. DWORD cPlayersMissions;
  8. DWORD cPlayersLobby;
  9. DWORD cPlayersDropped;
  10. DWORD cInboundQueueLength;
  11. DWORD cInboundQueueSize;
  12. DWORD cOutboundQueueLength;
  13. DWORD cOutboundQueueSize;
  14. DWORD timeInnerLoop;
  15. DWORD cMissions;
  16. DWORD cServers;
  17. } LOBBY_COUNTERS, *PLOBBY_COUNTERS;
  18. typedef struct _PER_SERVER_COUNTERS
  19. {
  20. DWORD cPlayers;
  21. DWORD cMissions;
  22. DWORD percentLoad; // based on how many players they said they can handle
  23. DWORD dummy; // 8 byte alignment
  24. } PER_SERVER_COUNTERS, *PPER_SERVER_COUNTERS;
  25. #endif