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.

23 lines
832 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose: Duel MiniGame
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================
  7. #ifndef TF_DUEL_H
  8. #define TF_DUEL_H
  9. class CTFPlayer;
  10. bool DuelMiniGame_IsInDuel( CTFPlayer *pPlayer );
  11. int DuelMiniGame_GetRequiredPlayerClass( CTFPlayer *pPlayer );
  12. void DuelMiniGame_NotifyKill( CTFPlayer *pKiller, CTFPlayer *pVictim );
  13. void DuelMiniGame_NotifyAssist( CTFPlayer *pAssister, CTFPlayer *pVictim );
  14. void DuelMiniGame_NotifyPlayerChangedTeam( CTFPlayer *pPlayer, int iNewTeam, bool bInitiatedByPlayer );
  15. void DuelMiniGame_NotifyPlayerDisconnect( CTFPlayer *pPlayer, bool bKicked = false );
  16. void DuelMiniGame_AssignWinners();
  17. void DuelMiniGame_Stop();
  18. void DuelMiniGame_LevelShutdown();
  19. #endif // TF_DUEL_H