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/dod/dod_location.h | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'game/server/dod/dod_location.h')
| -rw-r--r-- | game/server/dod/dod_location.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/game/server/dod/dod_location.h b/game/server/dod/dod_location.h new file mode 100644 index 0000000..7795e90 --- /dev/null +++ b/game/server/dod/dod_location.h @@ -0,0 +1,38 @@ +//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: +// +//============================================================================= + +#ifndef DOD_LOCATION_H +#define DOD_LOCATION_H +#ifdef _WIN32 +#pragma once +#endif + +#include "baseentity.h" + +//a location on the map that players can refernce in their say messages +//with the %l escape sequence +class CDODLocation : public CBaseEntity +{ +public: + DECLARE_CLASS( CDODLocation, CBaseEntity ); + CDODLocation() + { + m_szLocationName[0] = '\0'; + } + + virtual void Spawn( void ); + virtual bool KeyValue( const char *szKeyName, const char *szValue ); + + inline const char *GetName( void ) { return m_szLocationName; } + +private: + char m_szLocationName[64]; + +private: + CDODLocation( const CDODLocation & ); +}; + +#endif //DOD_LOCATION_H
\ No newline at end of file |