scripting
Class CScriptEvent
IJSObject
|
+--CJSObject
|
+--CScriptEvent
in DOMEvent.h
in DOMEvent.cpp
- Direct Known Subclasses:
- CChatEvent, CClientConnectDisconnectCommon, CConnectCompleteEvent, CDisconnectEvent, CStartGameEvent, CGameEvents::CEventSelectionChanged, CGameEvents::CEventWorldClick, CEventCancelProduction, CEventDeath, CEventFinishProduction, CEventGeneric, CEventInitialize, CEventNotification, CEventOrderTransition, CEventPrepareOrder, CEventProjectileImpact, CEventProjectileMiss, CEventStartConstruction, CEventStartProduction, CEventTargetChanged, CEventTargetExhausted, CFormationEvent, CIdleEvent
- class CScriptEvent
- extends CJSObject
Constructor Summary |
CScriptEvent( const CStrW& Type, unsigned int TypeCode =( unsigned int )-1, bool Cancelable = true, bool Blockable = true )
|
Methods inherited from class CJSObject |
ScriptingInit, ScriptingShutdown, GetProperty, SetProperty, HasProperty, AddProperty, AddProperty, AddProperty, AddMethod, AddProperty, AddLocalProperty, GetScript, CreateScriptObject, ReleaseScriptObject, Shutdown |
m_Blockable
public bool m_Blockable;
m_Blocked
public bool m_Blocked;
m_Cancelable
public bool m_Cancelable;
m_Cancelled
public bool m_Cancelled;
m_CurrentTarget
public IEventTarget* m_CurrentTarget;
m_Target
public IEventTarget* m_Target;
m_Timestamp
public i32 m_Timestamp;
m_Type
public CStrW m_Type;
m_TypeCode
public unsigned int m_TypeCode;
CScriptEvent
public CScriptEvent( const CStrW& Type, unsigned int TypeCode =( unsigned int )-1, bool Cancelable = true, bool Blockable = true );
PreventDefault
public void PreventDefault( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );
ScriptingInit
public static void ScriptingInit();
StopPropagation
public void StopPropagation( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );
ToString
public CStr ToString( JSContext* UNUSED( cx ), uintN UNUSED( argc ), jsval* UNUSED( argv ) );