css_enhanced_waf/game/server/tf/minigames/tf_duel.h

24 lines
832 B
C
Raw Normal View History

2020-04-22 17:56:21 +01:00
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: Duel MiniGame
//
// $NoKeywords: $
//=============================================================================
#ifndef TF_DUEL_H
#define TF_DUEL_H
class CTFPlayer;
bool DuelMiniGame_IsInDuel( CTFPlayer *pPlayer );
int DuelMiniGame_GetRequiredPlayerClass( CTFPlayer *pPlayer );
void DuelMiniGame_NotifyKill( CTFPlayer *pKiller, CTFPlayer *pVictim );
void DuelMiniGame_NotifyAssist( CTFPlayer *pAssister, CTFPlayer *pVictim );
void DuelMiniGame_NotifyPlayerChangedTeam( CTFPlayer *pPlayer, int iNewTeam, bool bInitiatedByPlayer );
void DuelMiniGame_NotifyPlayerDisconnect( CTFPlayer *pPlayer, bool bKicked = false );
void DuelMiniGame_AssignWinners();
void DuelMiniGame_Stop();
void DuelMiniGame_LevelShutdown();
#endif // TF_DUEL_H