mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-31 22:49:19 +00:00
upload "kind" alien swarm
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
//========= Copyright Valve Corporation, All rights reserved. ============//
|
||||
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============//
|
||||
//
|
||||
// Purpose: Declares basic entity communications classes, for input/output of data
|
||||
// between entities
|
||||
@@ -29,6 +29,7 @@ class CEventAction
|
||||
{
|
||||
public:
|
||||
CEventAction( const char *ActionData = NULL );
|
||||
CEventAction( const CEventAction &p_EventAction );
|
||||
|
||||
string_t m_iTarget; // name of the entity(s) to cause the action in
|
||||
string_t m_iTargetInput; // the name of the action to fire
|
||||
@@ -63,6 +64,7 @@ public:
|
||||
|
||||
void ParseEventAction( const char *EventData );
|
||||
void AddEventAction( CEventAction *pEventAction );
|
||||
void RemoveEventAction( CEventAction *pEventAction );
|
||||
|
||||
int Save( ISave &save );
|
||||
int Restore( IRestore &restore, int elementCount );
|
||||
@@ -78,12 +80,15 @@ public:
|
||||
/// Delete every single action in the action list.
|
||||
void DeleteAllElements( void ) ;
|
||||
|
||||
CEventAction *GetFirstAction() { return m_ActionList; }
|
||||
|
||||
const CEventAction *GetActionForTarget( string_t iSearchTarget ) const;
|
||||
protected:
|
||||
variant_t m_Value;
|
||||
CEventAction *m_ActionList;
|
||||
DECLARE_SIMPLE_DATADESC();
|
||||
|
||||
CBaseEntityOutput() = default; // this class cannot be created, only it's children
|
||||
CBaseEntityOutput() {} // this class cannot be created, only it's children
|
||||
|
||||
private:
|
||||
CBaseEntityOutput( CBaseEntityOutput& ); // protect from accidental copying
|
||||
@@ -128,7 +133,7 @@ public:
|
||||
// Template specializations for type Vector, so we can implement Get, Set, and Init differently.
|
||||
//
|
||||
template<>
|
||||
class CEntityOutputTemplate<class Vector, FIELD_VECTOR> : public CBaseEntityOutput
|
||||
class CEntityOutputTemplate< Vector, FIELD_VECTOR> : public CBaseEntityOutput
|
||||
{
|
||||
public:
|
||||
void Init( const Vector &value )
|
||||
@@ -150,7 +155,7 @@ public:
|
||||
|
||||
|
||||
template<>
|
||||
class CEntityOutputTemplate<class Vector, FIELD_POSITION_VECTOR> : public CBaseEntityOutput
|
||||
class CEntityOutputTemplate< Vector, FIELD_POSITION_VECTOR> : public CBaseEntityOutput
|
||||
{
|
||||
public:
|
||||
void Init( const Vector &value )
|
||||
|
||||
Reference in New Issue
Block a user