Oolite 1.91.0.7644-241112-7f5034b
|
import "WormholeEntity.h"
import "OOJSWormhole.h"
import "OOJSEntity.h"
import "OOJSVector.h"
import "OOJavaScriptEngine.h"
import "OOCollectionExtractors.h"
import "EntityOOJavaScriptExtensions.h"
Go to the source code of this file.
Enumerations | |
enum | { kWormhole_arrivalTime , kWormhole_destination , kWormhole_expiryTime , kWormhole_origin } |
Functions | |
static BOOL | JSWormholeGetWormholeEntity (JSContext *context, JSObject *stationObj, WormholeEntity **outEntity) |
static JSBool | WormholeGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
static JSBool | WormholeSetProperty (JSContext *context, JSObject *this, jsid propID, JSBool strict, jsval *value) |
void | InitOOJSWormhole (JSContext *context, JSObject *global) |
Variables | |
static JSObject * | sWormholePrototype |
static JSClass | sWormholeClass |
static JSPropertySpec | sWormholeProperties [] |
static JSFunctionSpec | sWormholeMethods [] |
anonymous enum |
Enumerator | |
---|---|
kWormhole_arrivalTime | |
kWormhole_destination | |
kWormhole_expiryTime | |
kWormhole_origin |
Definition at line 59 of file OOJSWormhole.m.
void InitOOJSWormhole | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 89 of file OOJSWormhole.m.
References JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sWormholeClass, sWormholeMethods, sWormholeProperties, and sWormholePrototype.
|
static |
Definition at line 97 of file OOJSWormhole.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by WormholeEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, and WormholeGetProperty().
|
static |
Definition at line 141 of file OOJSWormhole.m.
References JSWormholeGetWormholeEntity(), kWormhole_arrivalTime, kWormhole_destination, kWormhole_expiryTime, kWormhole_origin, nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportBadPropertySelector(), OOJSValueFromNativeObject(), and sWormholeProperties.
|
static |
Definition at line 179 of file OOJSWormhole.m.
|
static |
Definition at line 42 of file OOJSWormhole.m.
Referenced by InitOOJSWormhole().
|
static |
Definition at line 81 of file OOJSWormhole.m.
Referenced by InitOOJSWormhole().
|
static |
Definition at line 70 of file OOJSWormhole.m.
Referenced by WormholeEntity(OOJavaScriptExtensions)::getJSClass:andPrototype:, InitOOJSWormhole(), and WormholeGetProperty().
|
static |
Definition at line 33 of file OOJSWormhole.m.
Referenced by InitOOJSWormhole().