java.io.Serializable
, org.mozilla.javascript.ConstProperties
, org.mozilla.javascript.debug.DebuggableObject
, org.mozilla.javascript.Scriptable
protected static class DefaultScriptingEngine.JScriptEvent
extends org.mozilla.javascript.ScriptableObject
Constructor | Description |
---|---|
JScriptEvent(DefaultScriptingEngine scrpt,
PhysicalAgent host,
MOB source,
Environmental target,
MOB monster,
Item primaryItem,
Item secondaryItem,
java.lang.String msg,
java.lang.Object[] tmp) |
Modifier and Type | Method | Description |
---|---|---|
void |
executeEvent(ScriptingEngine.SubScript script,
int lineNum) |
|
java.lang.Object |
get(java.lang.String name,
org.mozilla.javascript.Scriptable start) |
|
java.lang.String |
getClassName() |
|
java.lang.String |
getCMType(java.lang.Object O) |
|
java.lang.String |
getVar(java.lang.String host,
java.lang.String var) |
|
Environmental |
host() |
|
Item |
item() |
|
Item |
item2() |
|
java.lang.String |
message() |
|
MOB |
monster() |
|
java.lang.Object[] |
objs() |
|
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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
public JScriptEvent(DefaultScriptingEngine scrpt, PhysicalAgent host, MOB source, Environmental target, MOB monster, Item primaryItem, Item secondaryItem, java.lang.String msg, java.lang.Object[] tmp)
public java.lang.String getClassName()
getClassName
in interface org.mozilla.javascript.Scriptable
getClassName
in class org.mozilla.javascript.ScriptableObject
public Environmental host()
public MOB source()
public Environmental target()
public MOB monster()
public Item item()
public Item item2()
public java.lang.Object[] objs()
public java.lang.String message()
public void setVar(java.lang.String host, java.lang.String var, java.lang.String value)
public java.lang.String getVar(java.lang.String host, java.lang.String var)
public java.lang.String toJavaString(java.lang.Object O)
public java.lang.String getCMType(java.lang.Object O)
public java.lang.Object get(java.lang.String name, org.mozilla.javascript.Scriptable start)
get
in interface org.mozilla.javascript.Scriptable
get
in class org.mozilla.javascript.ScriptableObject
public void executeEvent(ScriptingEngine.SubScript script, int lineNum)