EventHandler: Add note to SceneItemRemoved

This commit is contained in:
tt2468 2021-06-15 23:48:16 -07:00
parent b95a2e648f
commit 9088cb4db8

View File

@ -22,6 +22,7 @@ void EventHandler::HandleSceneItemCreated(void *param, calldata_t *data)
eventHandler->_webSocketServer->BroadcastEvent(EventSubscription::SceneItems, "SceneItemCreated", eventData);
}
// Will not be emitted if an item is removed due to the parent scene being removed.
void EventHandler::HandleSceneItemRemoved(void *param, calldata_t *data)
{
auto eventHandler = reinterpret_cast<EventHandler*>(param);