blob: f3ea7b81ab960de31ea74615ccc3892ffac67e9c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
//========= 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
|