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

Method GetFunctionNumber

neo/game/script/Script_Program.cpp:520–529  ·  view source on GitHub ↗

================ idTypeDef::GetFunctionNumber ================ */

Source from the content-addressed store, hash-verified

518================
519*/
520int idTypeDef::GetFunctionNumber( const function_t *func ) const {
521 int i;
522
523 for( i = 0; i < functions.Num(); i++ ) {
524 if ( functions[ i ] == func ) {
525 return i;
526 }
527 }
528 return -1;
529}
530
531/*
532================

Callers 1

Calls 1

NumMethod · 0.45

Tested by

no test coverage detected