Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
894 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef PLAYERLISTCOMPARE_H
  8. #define PLAYERLISTCOMPARE_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include <vgui_controls/ListPanel.h>
  13. // these functions are common to most server lists in sorts
  14. int __cdecl PlayerNameCompare(const void *elem1, const void *elem2 );
  15. int __cdecl PlayerAuthCompare(const void *elem1, const void *elem2 );
  16. int __cdecl PlayerPingCompare(const void *elem1, const void *elem2 );
  17. int __cdecl PlayerLossCompare(const void *elem1, const void *elem2 );
  18. int __cdecl PlayerTimeCompare( vgui::ListPanel *pPanel, const vgui::ListPanelItem &item1, const vgui::ListPanelItem &item2 );
  19. int __cdecl PlayerFragsCompare(const void *elem1, const void *elem2 );
  20. #endif // PLAYERLISTCOMPARE_H