![]() |
Plasma Engine
2.0
|
Sent when something enters or leaves a trigger. More...
#include <TriggerMessage.h>
Public Member Functions | |
PL_DECLARE_MESSAGE_TYPE (plMsgTriggerTriggered, plEventMessage) | |
![]() | |
virtual const plRTTI * | GetDynamicRTTI () const |
bool | IsInstanceOf (const plRTTI *pType) const |
Returns whether the type of this instance is of the given type or derived from it. | |
template<typename T > | |
PL_ALWAYS_INLINE bool | IsInstanceOf () const |
Returns whether the type of this instance is of the given type or derived from it. | |
Public Attributes | |
plHashedString | m_sMessage |
Identifies what the message should trigger. | |
plEnum< plTriggerState > | m_TriggerState |
Messages are only sent for 'entered' ('Activated') and 'left' ('Deactivated') | |
plGameObjectHandle | m_hTriggeringObject |
The object that entered the trigger volume. | |
Additional Inherited Members | |
![]() | |
static const plRTTI * | GetStaticRTTI () |
Sent when something enters or leaves a trigger.