registerDataReceiverEntity method

bool registerDataReceiverEntity(
  1. String entityName,
  2. ReceiverFunc dataReceiverFunc
)

Implementation

bool registerDataReceiverEntity(String entityName, ReceiverFunc dataReceiverFunc)
{
  if(_entityDataReceiverMap.containsKey(entityName))
  {
    return false;
  }

  _entityDataReceiverMap[entityName] = dataReceiverFunc;

  return true;
}