csgo-2018-source/game/client/c_triggers.h
2021-07-24 21:11:47 -07:00

42 lines
900 B
C++

//====== 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<class C_BaseFilter> m_hFilter; //CBaseFilter is not networked yet. Only really care about m_bDisabled for this first pass.
};
#endif // C_TRIGGERS_H