blob: c1b0bfa15f006134e1e69142b1caa9a800802c25 (
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
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
//========= Copyright Valve Corporation, All rights reserved. ============//
//
// Purpose: CTeamplayRoundWin Entity
//
//=============================================================================//
#ifndef ENTITY_ROUND_WIN_H
#define ENTITY_ROUND_WIN_H
#ifdef _WIN32
#pragma once
#endif
//=============================================================================
//
// CTeamplayRoundWin Entity.
//
class CTeamplayRoundWin : public CPointEntity
{
public:
DECLARE_CLASS( CTeamplayRoundWin, CPointEntity );
CTeamplayRoundWin();
// Input
void InputRoundWin( inputdata_t &inputdata );
private:
void RoundWin( void );
private:
bool m_bForceMapReset;
bool m_bSwitchTeamsOnWin;
int m_iWinReason;
COutputEvent m_outputOnRoundWin; // Fired when the entity tells the game rules a team has won the round
DECLARE_DATADESC();
};
#endif // ENTITY_ROUND_WIN_H
|