MCPcopy Create free account
hub / github.com/dhewm/dhewm3 / Event_HasFunction

Method Event_HasFunction

neo/d3xp/Entity.cpp:4643–4652  ·  view source on GitHub ↗

===================== idEntity::Event_HasFunction ===================== */

Source from the content-addressed store, hash-verified

4641=====================
4642*/
4643void idEntity::Event_HasFunction( const char *name ) {
4644 const function_t *func;
4645
4646 func = scriptObject.GetFunction( name );
4647 if ( func ) {
4648 idThread::ReturnInt( true );
4649 } else {
4650 idThread::ReturnInt( false );
4651 }
4652}
4653
4654/*
4655=====================

Callers

nothing calls this directly

Calls 1

GetFunctionMethod · 0.45

Tested by

no test coverage detected