CurrentEvent¶
Static members¶
Member |
Description |
---|---|
|
Returns true if the current event has been consumed. |
|
Returns the listener data assigned to the current event listener. |
Details¶
-
class
CurrentEvent
¶ -
static const bool
isConsumed
¶ Returns true if the current event has been consumed.
-
static const DynValue
listenerData
¶ Returns the listener data assigned to the current event listener.
-
static void
Consume
()¶ Consume the current event. Consuming an event stops any built in game behaviour from reacting to the event. If a previous Ravenscript callback consumed the event, the
CurrentEvent.isConsumed
flag will be set to true.
-
static const bool