//====== Copyright © 1996-2005, Valve Corporation, All rights reserved. ======= // // Purpose: // //============================================================================= #ifndef C_TRIGGERS_H #define C_TRIGGERS_H #ifdef _WIN32 #pragma once #endif #include "c_basetoggle.h" #include "triggers_shared.h" class C_BaseTrigger : public C_BaseToggle { DECLARE_CLASS( C_BaseTrigger, C_BaseToggle ); DECLARE_CLIENTCLASS(); public: bool m_bClientSidePredicted; }; class C_BaseVPhysicsTrigger : public C_BaseEntity { DECLARE_CLASS( C_BaseVPhysicsTrigger , C_BaseEntity ); DECLARE_CLIENTCLASS(); public: //virtual bool PassesTriggerFilters(C_BaseEntity *pOther); protected: bool m_bDisabled; string_t m_iFilterName; //CHandle m_hFilter; //CBaseFilter is not networked yet. Only really care about m_bDisabled for this first pass. }; #endif // C_TRIGGERS_H