com.planet_ink.coffee_mud.Common
Class DefaultScriptingEngine.JScriptEvent

java.lang.Object
  extended by org.mozilla.javascript.ScriptableObject
      extended by com.planet_ink.coffee_mud.Common.DefaultScriptingEngine.JScriptEvent
All Implemented Interfaces:
java.io.Serializable, org.mozilla.javascript.ConstProperties, org.mozilla.javascript.debug.DebuggableObject, org.mozilla.javascript.Scriptable
Enclosing class:
DefaultScriptingEngine

protected static class DefaultScriptingEngine.JScriptEvent
extends org.mozilla.javascript.ScriptableObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
 
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
 
Constructor Summary
DefaultScriptingEngine.JScriptEvent(DefaultScriptingEngine scrpt, PhysicalAgent host, MOB source, Environmental target, MOB monster, Item primaryItem, Item secondaryItem, java.lang.String msg, java.lang.Object[] tmp)
           
 
Method Summary
 void executeEvent(DVector script, int lineNum)
           
 java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
           
 java.lang.String getClassName()
           
 java.lang.String getVar(java.lang.String host, java.lang.String var)
           
 Environmental host()
           
 Item item()
           
 Item item2()
           
 java.lang.String message()
           
 MOB monster()
           
 void setVar(java.lang.String host, java.lang.String var, java.lang.String value)
           
 MOB source()
           
 Environmental target()
           
 java.lang.String toJavaString(java.lang.Object O)
           
 
Methods inherited from class org.mozilla.javascript.ScriptableObject
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getOwnPropertyDescriptor, getParentScope, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, has, hasInstance, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, put, putConst, putConstProperty, putProperty, putProperty, redefineProperty, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setGetterOrSetter, setParentScope, setPrototype, size
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultScriptingEngine.JScriptEvent

public DefaultScriptingEngine.JScriptEvent(DefaultScriptingEngine scrpt,
                                           PhysicalAgent host,
                                           MOB source,
                                           Environmental target,
                                           MOB monster,
                                           Item primaryItem,
                                           Item secondaryItem,
                                           java.lang.String msg,
                                           java.lang.Object[] tmp)
Method Detail

getClassName

public java.lang.String getClassName()
Specified by:
getClassName in interface org.mozilla.javascript.Scriptable
Specified by:
getClassName in class org.mozilla.javascript.ScriptableObject

host

public Environmental host()

source

public MOB source()

target

public Environmental target()

monster

public MOB monster()

item

public Item item()

item2

public Item item2()

message

public java.lang.String message()

setVar

public void setVar(java.lang.String host,
                   java.lang.String var,
                   java.lang.String value)

getVar

public java.lang.String getVar(java.lang.String host,
                               java.lang.String var)

toJavaString

public java.lang.String toJavaString(java.lang.Object O)

get

public java.lang.Object get(java.lang.String name,
                            org.mozilla.javascript.Scriptable start)
Specified by:
get in interface org.mozilla.javascript.Scriptable
Overrides:
get in class org.mozilla.javascript.ScriptableObject

executeEvent

public void executeEvent(DVector script,
                         int lineNum)