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.
 
 
 
 
 
 

43 lines
964 B

#ifndef ASW_MARKER_H
#define ASW_MARKER_H
#ifdef _WIN32
#pragma once
#endif
#include "baseentity.h"
// This class is used for marking world positions of objectives
class CASW_Marker : public CBaseEntity
{
public:
DECLARE_CLASS( CASW_Marker, CBaseEntity );
DECLARE_SERVERCLASS();
DECLARE_DATADESC();
virtual void Spawn( void );
virtual int ShouldTransmit( const CCheckTransmitInfo *pInfo );
virtual bool KeyValue( const char *szKeyName, const char *szValue );
virtual void SetComplete( bool bComplete );
virtual bool IsObjectiveComplete() { return m_bComplete; }
void InputSetComplete( inputdata_t &inputdata );
void InputEnable( inputdata_t &inputdata );
void InputDisable( inputdata_t &inputdata );
private:
CNetworkString( m_ObjectiveName, 256 );
CNetworkVar( int, m_nMapWidth );
CNetworkVar( int, m_nMapHeight );
CNetworkVar( bool, m_bComplete );
CNetworkVar( bool, m_bEnabled );
bool m_bStartDisabled;
};
#endif /* ASW_MARKER_H */