|
Oolite
|
Include dependency graph for OOJSEntity.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Functions | |
| void | InitOOJSEntity (JSContext *context, JSObject *global) |
| BOOL | JSValueToEntity (JSContext *context, jsval value, Entity **outEntity) |
| OOINLINE JSClass * | JSEntityClass (void) |
| OOINLINE JSObject * | JSEntityPrototype (void) |
| BOOL | EntityFromArgumentList (JSContext *context, NSString *scriptClass, NSString *function, uintN argc, jsval *argv, Entity **outEntity, uintN *outConsumed) |
| OOINLINE BOOL | OOIsPlayerStale (void) |
| OOINLINE BOOL | OOIsStaleEntity (Entity *entity) |
Variables | |
| JSClass | gOOEntityJSClass |
| JSObject * | gOOEntityJSPrototype |
| BOOL EntityFromArgumentList | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| uintN | argc, | ||
| jsval * | argv, | ||
| Entity ** | outEntity, | ||
| uintN * | outConsumed | ||
| ) |
Definition at line 157 of file OOJSEntity.m.
References count, EXPECT_NOT, JSValueToEntity(), nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSReportWarning(), and OOLogGenericParameterError.
Here is the call graph for this function:| void InitOOJSEntity | ( | JSContext * | context, |
| JSObject * | global | ||
| ) |
Definition at line 139 of file OOJSEntity.m.
References gOOEntityJSClass, gOOEntityJSPrototype, OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sEntityMethods, and sEntityProperties.
Here is the call graph for this function:| OOINLINE JSClass * JSEntityClass | ( | void | ) |
Definition at line 42 of file OOJSEntity.h.
References gOOEntityJSClass.
Referenced by InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSPlanet(), InitOOJSShip(), InitOOJSSun(), InitOOJSVisualEffect(), InitOOJSWaypoint(), InitOOJSWormhole(), JSObjectGetQuaternion(), and JSObjectGetVector().
Here is the caller graph for this function:| OOINLINE JSObject * JSEntityPrototype | ( | void | ) |
Definition at line 43 of file OOJSEntity.h.
References gOOEntityJSPrototype.
Referenced by InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSPlanet(), InitOOJSShip(), InitOOJSSun(), InitOOJSVisualEffect(), InitOOJSWaypoint(), and InitOOJSWormhole().
Here is the caller graph for this function:| BOOL JSValueToEntity | ( | JSContext * | context, |
| jsval | value, | ||
| Entity ** | outEntity | ||
| ) |
Definition at line 146 of file OOJSEntity.m.
Referenced by ConsoleInspectEntity(), EntityFromArgumentList(), GetRelativeToAndRange(), PlayerShipSetProperty(), and ShipSetProperty().
Here is the caller graph for this function:| OOINLINE BOOL OOIsPlayerStale | ( | void | ) |
Definition at line 65 of file OOJSEntity.h.
References gOOJSPlayerIfStale, and nil.
Referenced by PlayerSetEscapePodDestination(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipCancelDockingRequest(), PlayerShipDisengageAutopilot(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipLaunch(), PlayerShipRemoveAllCargo(), PlayerShipRequestDockingClearance(), PlayerShipSetProperty(), and PlayerShipUseSpecialCargo().
Here is the caller graph for this function:Definition at line 71 of file OOJSEntity.h.
References gOOJSPlayerIfStale, and nil.
Referenced by EntityGetProperty(), EntitySetProperty(), ShipGetProperty(), and ShipSetProperty().
Here is the caller graph for this function:
|
extern |
Definition at line 48 of file OOJSEntity.m.
Referenced by InitOOJSEntity(), and JSEntityClass().
|
extern |
Definition at line 38 of file OOJSEntity.m.
Referenced by InitOOJSEntity(), and JSEntityPrototype().