Oolite 1.91.0.7644-241112-7f5034b
|
import "OOJSWorldScripts.h"
import "OOJavaScriptEngine.h"
import "PlayerEntity.h"
import "OOJSPlayer.h"
Go to the source code of this file.
Functions | |
static JSBool | WorldScriptsGetProperty (JSContext *context, JSObject *this, jsid propID, jsval *value) |
static JSBool | WorldScriptsEnumerate (JSContext *cx, JSObject *obj) |
void | InitOOJSWorldScripts (JSContext *context, JSObject *global) |
Variables | |
static JSClass | sWorldScriptsClass |
void InitOOJSWorldScripts | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 52 of file OOJSWorldScripts.m.
References OOJS_PROP_READONLY, and sWorldScriptsClass.
|
static |
Definition at line 94 of file OOJSWorldScripts.m.
References nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_PROP_READONLY_CB, and WorldScriptsGetProperty().
|
static |
Definition at line 58 of file OOJSWorldScripts.m.
References nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOPlayerForScripting(), OOStringFromJSString(), and PlayerEntity::worldScriptsByName.
Referenced by WorldScriptsEnumerate().
|
static |
Definition at line 36 of file OOJSWorldScripts.m.
Referenced by InitOOJSWorldScripts().