|
Oolite
|
import "OOJSDock.h"import "DockEntity.h"import "EntityOOJavaScriptExtensions.h"import "OOJSEntity.h"import "OOJSPlayer.h"import "OOJSShip.h"import "OOJavaScriptEngine.h"import "GameController.h"Go to the source code of this file.
Enumerations | |
| enum | { kDock_allowsDocking , kDock_disallowedDockingCollides , kDock_allowsLaunching , kDock_dockingQueueLength , kDock_launchingQueueLength } |
Functions | |
| static BOOL | JSDockGetDockEntity (JSContext *context, JSValueConst stationObj, DockEntity **outEntity) |
| static BOOL | JSDockGetShipEntity (JSContext *context, JSValueConst shipObj, ShipEntity **outEntity) |
| static JSValue | DockIsQueued (OOJS_NATIVE_ARGS) |
| static JSValue | DockGetProperty (OOJS_GETTER_ARGS) |
| static JSValue | DockSetProperty (OOJS_SETTER_ARGS) |
| void | InitOOJSDock (JSContext *context, JSValueConst global) |
| JSClassID | JSDockClassID (void) |
Variables | |
| static JSClassID | sDockClassID |
| static JSClassDef | sDockClass |
| static const JSCFunctionListEntry | sDockProperties [] |
| static const JSCFunctionListEntry | sDockMethods [] |
| anonymous enum |
| Enumerator | |
|---|---|
| kDock_allowsDocking | |
| kDock_disallowedDockingCollides | |
| kDock_allowsLaunching | |
| kDock_dockingQueueLength | |
| kDock_launchingQueueLength | |
Definition at line 49 of file OOJSDock.m.
|
static |
Definition at line 157 of file OOJSDock.m.
References JSDockGetDockEntity(), kDock_allowsDocking, kDock_allowsLaunching, kDock_disallowedDockingCollides, kDock_dockingQueueLength, kDock_launchingQueueLength, nil, OOJS_COUNT, OOJS_GETTER_ARGS, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSNativeFailure(), OOJSReportBadPropertySelector(), OOJSValueFromBOOL(), and sDockProperties.
|
static |
Definition at line 241 of file OOJSDock.m.
References JSDockGetDockEntity(), JSDockGetShipEntity(), MIN, nil, OOJS_ARGV, OOJS_NATIVE_ARGS, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_BOOL, OOJS_THIS, OOJSNativeFailure(), OOJSReportBadArguments(), and DockEntity::shipIsInDockingQueue:.
|
static |
Definition at line 193 of file OOJSDock.m.
References JSDockGetDockEntity(), kDock_allowsDocking, kDock_allowsLaunching, kDock_disallowedDockingCollides, nil, OOJS_COUNT, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_SETTER_ARGS, OOJSNativeFailure(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), sDockProperties, DockEntity::setAllowsDocking:, DockEntity::setAllowsLaunching:, and DockEntity::setDisallowedDockingCollides:.
| void InitOOJSDock | ( | JSContext * | context, |
| JSValueConst | global ) |
Definition at line 72 of file OOJSDock.m.
References JSShipClassID(), OOJS_COUNT, OOJSBasicPrivateObjectConverter(), OOJSInitClass(), OOJSRegisterClass(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sDockClass, sDockClassID, sDockMethods, and sDockProperties.
| JSClassID JSDockClassID | ( | void | ) |
|
static |
Definition at line 95 of file OOJSDock.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
|
static |
Definition at line 119 of file OOJSDock.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
|
static |
Definition at line 44 of file OOJSDock.m.
|
static |
Definition at line 34 of file OOJSDock.m.
Referenced by InitOOJSDock(), JSDockClassID(), and DockEntity(OOJavaScriptExtensions)::oo_jsClassID.
|
static |
Definition at line 67 of file OOJSDock.m.
|
static |
Definition at line 58 of file OOJSDock.m.