Oolite 1.91.0.7645-241119-222d325
|
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().