diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /game/server/tf/entity_roundwin.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/tf/entity_roundwin.h')
| -rw-r--r-- | game/server/tf/entity_roundwin.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/game/server/tf/entity_roundwin.h b/game/server/tf/entity_roundwin.h new file mode 100644 index 0000000..c1b0bfa --- /dev/null +++ b/game/server/tf/entity_roundwin.h @@ -0,0 +1,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 + + |