MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / removeNotify

Method removeNotify

Engine/source/console/simObject.cpp:1715–1729  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1713//-----------------------------------------------------------------------------
1714
1715SimObject::Notify* SimObject::removeNotify(void *ptr, SimObject::Notify::Type type)
1716{
1717 Notify **list = &mNotifyList;
1718 while(*list)
1719 {
1720 if((*list)->ptr == ptr && (*list)->type == type)
1721 {
1722 SimObject::Notify *ret = *list;
1723 *list = ret->next;
1724 return ret;
1725 }
1726 list = &((*list)->next);
1727 }
1728 return NULL;
1729}
1730
1731//-----------------------------------------------------------------------------
1732

Callers 3

clearNotifyMethod · 0.80
processDeleteNotifiesMethod · 0.80
clearAllNotificationsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected