Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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

//========= 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