MCPcopy Create free account
hub / github.com/GarageGames/Torque3D / addVariableNotify

Method addVariableNotify

Engine/source/console/consoleInternal.cpp:722–732  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

720}
721
722void Dictionary::addVariableNotify( const char *name, const Con::NotifyDelegate &callback )
723{
724 Entry *ent = lookup(StringTable->insert(name));
725 if ( !ent )
726 return;
727
728 if ( !ent->notify )
729 ent->notify = new Entry::NotifySignal();
730
731 ent->notify->notify( callback );
732}
733
734void Dictionary::removeVariableNotify( const char *name, const Con::NotifyDelegate &callback )
735{

Callers 1

addVariableNotifyFunction · 0.80

Calls 2

insertMethod · 0.45
notifyMethod · 0.45

Tested by

no test coverage detected