![]() |
ezEngine
Release 25.03
|
A message sender that sends all messages to the next component derived from ezEventMessageHandlerComponent up in the hierarchy starting with the given search object. If none is found the message is sent to all components registered as global event message handler. The receiver is cached after the first send/post call. More...
#include <EventMessage.h>
Public Member Functions | |
EZ_ALWAYS_INLINE bool | SendEventMessage (EventMessageType &inout_msg, ezComponent *pSenderComponent, ezGameObject *pSearchObject) |
EZ_ALWAYS_INLINE bool | SendEventMessage (EventMessageType &inout_msg, const ezComponent *pSenderComponent, const ezGameObject *pSearchObject) const |
EZ_ALWAYS_INLINE void | PostEventMessage (EventMessageType &ref_msg, ezComponent *pSenderComponent, ezGameObject *pSearchObject, ezTime delay, ezObjectMsgQueueType::Enum queueType=ezObjectMsgQueueType::NextFrame) |
EZ_ALWAYS_INLINE void | PostEventMessage (EventMessageType &ref_msg, const ezComponent *pSenderComponent, const ezGameObject *pSearchObject, ezTime delay, ezObjectMsgQueueType::Enum queueType=ezObjectMsgQueueType::NextFrame) const |
EZ_ALWAYS_INLINE void | Invalidate () |
Additional Inherited Members |
A message sender that sends all messages to the next component derived from ezEventMessageHandlerComponent up in the hierarchy starting with the given search object. If none is found the message is sent to all components registered as global event message handler. The receiver is cached after the first send/post call.