mirror of
https://github.com/mapbase-source/source-sdk-2013.git
synced 2024-12-26 06:45:31 +03:00
Removed CancelEventsByInput at the suggestion of its contributor
This commit is contained in:
parent
5896fb73c8
commit
97928611aa
@ -1375,10 +1375,10 @@ float CBaseEntity::GetMaxOutputDelay( const char *pszOutput )
|
||||
return 0;
|
||||
}
|
||||
|
||||
void CBaseEntity::CancelEventsByInput( const char *szInput )
|
||||
{
|
||||
g_EventQueue.CancelEventsByInput( this, szInput );
|
||||
}
|
||||
//void CBaseEntity::CancelEventsByInput( const char *szInput )
|
||||
//{
|
||||
// g_EventQueue.CancelEventsByInput( this, szInput );
|
||||
//}
|
||||
#endif // MAPBASE_VSCRIPT
|
||||
|
||||
CBaseEntityOutput *CBaseEntity::FindNamedOutput( const char *pszOutput )
|
||||
@ -2378,7 +2378,7 @@ BEGIN_ENT_SCRIPTDESC_ROOT( CBaseEntity, "Root class of all server-side entities"
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptAcceptInput, "AcceptInput", "" )
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptFireOutput, "FireOutput", "Fire an entity output" )
|
||||
DEFINE_SCRIPTFUNC( GetMaxOutputDelay, "Get the longest delay for all events attached to an output" )
|
||||
DEFINE_SCRIPTFUNC( CancelEventsByInput, "Cancel all I/O events for this entity, match input" )
|
||||
//DEFINE_SCRIPTFUNC( CancelEventsByInput, "Cancel all I/O events for this entity, match input" ) // Commented out due to unpredictability and unknown risks
|
||||
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptAddOutput, "AddOutput", "Add an output" )
|
||||
DEFINE_SCRIPTFUNC_NAMED( ScriptGetKeyValue, "GetKeyValue", "Get a keyvalue" )
|
||||
|
@ -610,7 +610,7 @@ public:
|
||||
#ifdef MAPBASE_VSCRIPT
|
||||
void ScriptFireOutput( const char *pszOutput, HSCRIPT hActivator, HSCRIPT hCaller, const char *szValue, float flDelay );
|
||||
float GetMaxOutputDelay( const char *pszOutput );
|
||||
void CancelEventsByInput( const char *szInput );
|
||||
//void CancelEventsByInput( const char *szInput );
|
||||
#endif
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user