Oolite 1.91.0.7646-241128-10e222e
Loading...
Searching...
No Matches
OOJSShip.h File Reference
import <Foundation/Foundation.h>
#include <jsapi.h>
+ Include dependency graph for OOJSShip.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void InitOOJSShip (JSContext *context, JSObject *global)
 
JSClass * JSShipClass (void)
 
JSObject * JSShipPrototype (void)
 

Function Documentation

◆ InitOOJSShip()

void InitOOJSShip ( JSContext * context,
JSObject * global )

Definition at line 587 of file OOJSShip.m.

588{
592}
OOINLINE JSClass * JSEntityClass(void)
Definition OOJSEntity.h:42
OOINLINE JSObject * JSEntityPrototype(void)
Definition OOJSEntity.h:43
static JSFunctionSpec sShipStaticMethods[]
Definition OOJSShip.m:571
static JSFunctionSpec sShipMethods[]
Definition OOJSShip.m:484
static JSClass sShipClass
Definition OOJSShip.m:156
static JSPropertySpec sShipProperties[]
Definition OOJSShip.m:332
static JSObject * sShipPrototype
Definition OOJSShip.m:55
void OOJSRegisterObjectConverter(JSClass *theClass, OOJSClassConverterCallback converter)
JSBool OOJSUnconstructableConstruct(JSContext *context, uintN argc, jsval *vp)
void OOJSRegisterSubclass(JSClass *subclass, JSClass *superclass)
id OOJSBasicPrivateObjectConverter(JSContext *context, JSObject *object)

References JSEntityClass(), JSEntityPrototype(), OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSRegisterSubclass(), OOJSUnconstructableConstruct(), sShipClass, sShipMethods, sShipProperties, sShipPrototype, and sShipStaticMethods.

+ Here is the call graph for this function:

◆ JSShipClass()

JSClass * JSShipClass ( void )

Definition at line 595 of file OOJSShip.m.

596{
597 return &sShipClass;
598}

References sShipClass.

Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().

+ Here is the caller graph for this function:

◆ JSShipPrototype()

JSObject * JSShipPrototype ( void )

Definition at line 601 of file OOJSShip.m.

602{
603 return sShipPrototype;
604}

References sShipPrototype.

Referenced by InitOOJSDock(), InitOOJSPlayerShip(), and InitOOJSStation().

+ Here is the caller graph for this function: