|
Oolite
|
import "OOFoundation.h"import "PlayerEntity.h"import "PlayerEntityLegacyScriptEngine.h"import "Universe.h"#include <jsapi.h>import "OOJSPropID.h"import "OOJSEngineNativeWrappers.h"Go to the source code of this file.
Classes | |
| class | OOJavaScriptEngine |
| category | NSObject(OOJavaScript) |
| class | OOJSValue |
| category | NSString(OOJavaScriptExtensions) |
| struct | JSFunctionPredicateParameter |
Macros | |
| #define | OOJSENGINE_MONITOR_SUPPORT OO_DEBUG_MONITOR_ENABLED |
| #define | JS_IsInRequest(context) |
| #define | JS_BeginRequest(context) |
| #define | JS_EndRequest(context) |
| #define | OOJSFreeValue(context, value) |
| #define | OOJSUndefinedValue() |
| #define | OOJSNullValue() |
| #define | OOJSSTR(str) |
| #define | DEFINE_JS_OBJECT_GETTER(NAME, JSCLASS, JSPROTO, OBJCCLASSNAME) |
| #define | OOJSAddGCValueRoot(context, root, name) |
| #define | OOJSAddGCStringRoot(context, root, name) |
| #define | OOJSAddGCObjectRoot(context, root, name) |
| #define | OOJSAddGCThingRoot(context, root, name) |
| #define | OOJSDumpStack(cx) |
| #define | OOJSDescribeLocation(cx, frame) |
| #define | OOJSMarkConsoleEvalLocation(cx, frame) |
| #define | OOJS_PROP_READWRITE (JSPROP_PERMANENT | JSPROP_ENUMERATE) |
| #define | OOJS_PROP_READONLY (JSPROP_PERMANENT | JSPROP_ENUMERATE | JSPROP_READONLY) |
| #define | OOJS_PROP_HIDDEN_READWRITE (JSPROP_PERMANENT) |
| #define | OOJS_PROP_HIDDEN_READONLY (JSPROP_PERMANENT | JSPROP_READONLY) |
| #define | OOJS_METHOD_READONLY OOJS_PROP_HIDDEN_READONLY |
| #define | OOJS_PROP_READWRITE_CB (OOJS_PROP_READWRITE | JSPROP_SHARED) |
| #define | OOJS_PROP_READONLY_CB (OOJS_PROP_READONLY | JSPROP_SHARED) |
| #define | OOJS_PROP_HIDDEN_READWRITE_CB (OOJS_PROP_HIDDEN_READWRITE | JSPROP_SHARED) |
| #define | OOJS_PROP_HIDDEN_READONLY_CB (OOJS_PROP_HIDDEN_READONLY | JSPROP_SHARED) |
| #define | OOJS_THIS JS_THIS_OBJECT(context, vp) |
| #define | OOJS_ARGV JS_ARGV(context, vp) |
| #define | OOJS_RVAL JS_RVAL(context, vp) |
| #define | OOJS_SET_RVAL(v) |
| #define | OOJS_RETURN(v) |
| #define | OOJS_RETURN_JSOBJECT(o) |
| #define | OOJS_RETURN_VOID OOJS_RETURN(JSVAL_VOID) |
| #define | OOJS_RETURN_NULL OOJS_RETURN(JSVAL_NULL) |
| #define | OOJS_RETURN_BOOL(v) |
| #define | OOJS_RETURN_INT(v) |
| #define | OOJS_RETURN_OBJECT(o) |
| #define | OOJS_RETURN_WITH_HELPER(helper, value) |
| #define | OOJS_RETURN_VECTOR(value) |
| #define | OOJS_RETURN_HPVECTOR(value) |
| #define | OOJS_RETURN_QUATERNION(value) |
| #define | OOJS_RETURN_DOUBLE(value) |
Typedefs | |
| typedef jsval | OOJSVal |
| typedef id(* | OOJSClassConverterCallback) (JSContext *context, JSObject *object) |
Functions | |
| OOINLINE JSContext * | OOJSAcquireContext (void) |
| OOINLINE void | OOJSRelinquishContext (JSContext *context) |
| OOINLINE BOOL | OOJSValueIsUndefined (jsval value) |
| OOINLINE jsval | OOJSValueFromDouble (JSContext *context, double value) |
| OOINLINE BOOL | OOJSValueToBOOL (JSContext *context, jsval value) |
| OOINLINE BOOL | OOJSValueToInt32 (JSContext *context, jsval value, int32_t *outValue) |
| OOINLINE void | OOJSReportPendingException (JSContext *context) |
| void | OOJSReportError (JSContext *context, NSString *format,...) |
| void | OOJSReportErrorWithArguments (JSContext *context, NSString *format, va_list args) |
| void | OOJSReportErrorForCaller (JSContext *context, NSString *scriptClass, NSString *function, NSString *format,...) |
| void | OOJSReportWarning (JSContext *context, NSString *format,...) |
| void | OOJSReportWarningWithArguments (JSContext *context, NSString *format, va_list args) |
| void | OOJSReportWarningForCaller (JSContext *context, NSString *scriptClass, NSString *function, NSString *format,...) |
| void | OOJSReportBadPropertySelector (JSContext *context, JSObject *thisObj, jsid propID, JSPropertySpec *propertySpec) |
| void | OOJSReportBadPropertyValue (JSContext *context, JSObject *thisObj, jsid propID, JSPropertySpec *propertySpec, jsval value) |
| void | OOJSReportBadArguments (JSContext *context, NSString *scriptClass, NSString *function, uintN argc, jsval *argv, NSString *message, NSString *expectedArgsDescription) |
| void | OOJSSetWarningOrErrorStackSkip (unsigned skip) |
| BOOL | OOJSArgumentListGetNumber (JSContext *context, NSString *scriptClass, NSString *function, uintN argc, jsval *argv, double *outNumber, uintN *outConsumed) |
| BOOL | OOJSArgumentListGetNumberNoError (JSContext *context, uintN argc, jsval *argv, double *outNumber, uintN *outConsumed) |
| OOINLINE jsval | OOJSValueFromBOOL (int b) INLINE_CONST_FUNC |
| OOINLINE jsval | OOJSValueFromNativeObject (JSContext *context, id object) |
| JSObject * | OOJSObjectFromNativeObject (JSContext *context, id object) |
| void | OOJSStrLiteralCachePRIVATE (const char *string, jsval *strCache, BOOL *inited) |
| NSString * | OOStringFromJSString (JSContext *context, JSString *string) |
| NSString * | OOStringFromJSValue (JSContext *context, jsval value) |
| NSString * | OOStringFromJSValueEvenIfNull (JSContext *context, jsval value) |
| NSString * | OOStringFromJSPropertyIDAndSpec (JSContext *context, jsid propID, JSPropertySpec *propertySpec) |
| NSString * | OOJSDescribeValue (JSContext *context, jsval value, BOOL abbreviateObjects) |
| NSString * | OOStringFromJSID (jsid propID) |
| jsid | OOJSIDFromString (NSString *string) |
| BOOL | JSFunctionPredicate (Entity *entity, void *parameter) |
| BOOL | JSEntityIsJavaScriptVisiblePredicate (Entity *entity, void *parameter) |
| BOOL | JSEntityIsJavaScriptSearchablePredicate (Entity *entity, void *parameter) |
| BOOL | JSEntityIsDemoShipPredicate (Entity *entity, void *parameter) |
| id | OOJSNativeObjectFromJSValue (JSContext *context, jsval value) |
| id | OOJSNativeObjectFromJSObject (JSContext *context, JSObject *object) |
| id | OOJSNativeObjectOfClassFromJSValue (JSContext *context, jsval value, Class requiredClass) |
| id | OOJSNativeObjectOfClassFromJSObject (JSContext *context, JSObject *object, Class requiredClass) |
| OOINLINE JSClass * | OOJSGetClass (JSContext *cx, JSObject *obj) ALWAYS_INLINE_FUNC |
| OOINLINE BOOL | OOJSValueIsFunction (JSContext *context, jsval value) |
| OOINLINE BOOL | OOJSValueIsArray (JSContext *context, jsval value) |
| NSDictionary * | OOJSDictionaryFromJSValue (JSContext *context, jsval value) |
| NSDictionary * | OOJSDictionaryFromJSObject (JSContext *context, JSObject *object) |
| NSDictionary * | OOJSDictionaryFromStringTable (JSContext *context, jsval value) |
| BOOL | OOJSObjectGetterImplPRIVATE (JSContext *context, JSObject *object, JSClass *requiredJSClass, Class requiredObjCClass, const char *name, id *outObject) |
| void | OOJSRegisterSubclass (JSClass *subclass, JSClass *superclass) |
| BOOL | OOJSIsSubclass (JSClass *putativeSubclass, JSClass *superclass) |
| OOINLINE BOOL | OOJSIsMemberOfSubclass (JSContext *context, JSObject *object, JSClass *superclass) |
| id | OOJSBasicPrivateObjectConverter (JSContext *context, JSObject *object) |
| void | OOJSRegisterObjectConverter (JSClass *theClass, OOJSClassConverterCallback converter) |
| void | OOJSPauseTimeLimiter (void) |
| void | OOJSResumeTimeLimiter (void) |
| JSBool | OOJSUnconstructableConstruct (JSContext *context, uintN argc, jsval *vp) |
| void | OOJSObjectWrapperFinalize (JSContext *context, JSObject *this) |
| JSBool | OOJSObjectWrapperToString (JSContext *context, uintN argc, jsval *vp) |
Variables | |
| NSString *const | kOOJavaScriptEngineWillResetNotification |
| NSString *const | kOOJavaScriptEngineDidResetNotification |
| #define DEFINE_JS_OBJECT_GETTER | ( | NAME, | |
| JSCLASS, | |||
| JSPROTO, | |||
| OBJCCLASSNAME ) |
Definition at line 462 of file OOJavaScriptEngine.h.
| #define JS_BeginRequest | ( | context | ) |
Definition at line 107 of file OOJavaScriptEngine.h.
Referenced by OOJavaScriptEngine(Private)::createMainThreadContext, and OOJSAcquireContext().
| #define JS_EndRequest | ( | context | ) |
Definition at line 110 of file OOJavaScriptEngine.h.
Referenced by OOJavaScriptEngine(Private)::createMainThreadContext, and OOJSRelinquishContext().
| #define JS_IsInRequest | ( | context | ) |
Definition at line 106 of file OOJavaScriptEngine.h.
Referenced by AddCallback(), DescribeValue(), PlayerEntity::doWorldScriptEvent:inContext:withArguments:count:timeLimit:, GrowCallbackList(), InitTable(), JSFunctionPredicate(), OOConstantFromJSStringPRIVATE(), OOConstToJSStringInit(), OOJSRelinquishContext(), OOJSReportErrorWithArguments(), OOJSStringFromConstantPRIVATE(), OOStringFromJSValueEvenIfNull(), RemoveCallbackAtIndex(), and RemoveCallbackWithTrackingID().
| #define OOJS_ARGV JS_ARGV(context, vp) |
Definition at line 665 of file OOJavaScriptEngine.h.
Referenced by ClockAddSeconds(), ClockAddSeconds(), ClockClockStringForTime(), ClockClockStringForTime(), DockIsQueued(), DockIsQueued(), EquipmentInfoStaticInfoForKey(), EquipmentInfoStaticInfoForKey(), FontMeasureString(), FontMeasureString(), GlobalAddFrameCallback(), GlobalAddFrameCallback(), GlobalAutoAIForRole(), GlobalAutoAIForRole(), GlobalClearExtraGuiScreenKeys(), GlobalClearExtraGuiScreenKeys(), GlobalDisplayNameForCommodity(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalExpandMissionText(), GlobalGetGuiColorSettingForKey(), GlobalGetGuiColorSettingForKey(), GlobalGetScreenBackgroundForKey(), GlobalGetScreenBackgroundForKey(), GlobalIsValidFrameCallback(), GlobalIsValidFrameCallback(), GlobalKeyBindingDescription(), GlobalKeyBindingDescription(), GlobalLog(), GlobalLog(), GlobalLog(), GlobalRandomInhabitantsDescription(), GlobalRandomInhabitantsDescription(), GlobalRemoveFrameCallback(), GlobalRemoveFrameCallback(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetGuiColorSettingForKey(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalSetScreenOverlay(), ManifestComment(), ManifestComment(), ManifestSetComment(), ManifestSetComment(), ManifestSetShortComment(), ManifestSetShortComment(), ManifestShortComment(), ManifestShortComment(), MissionAddMessageText(), MissionAddMessageText(), MissionMarkSystem(), MissionMarkSystem(), MissionRunScreen(), MissionRunScreen(), MissionSetInstructions(), MissionSetInstructionsInternal(), MissionSetInstructionsKey(), MissionUnmarkSystem(), MissionUnmarkSystem(), OoliteCompareVersion(), OoliteCompareVersion(), PlayerAddMessageToArrivalReport(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerConsoleMessage(), PlayerEndScenario(), PlayerEndScenario(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetPlayerRole(), PlayerShipAddParcel(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipCancelDockingRequest(), PlayerShipEngageAutopilotToStation(), PlayerShipEngageAutopilotToStation(), PlayerShipHideHUDSelector(), PlayerShipHideHUDSelector(), PlayerShipRemoveContract(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipRequestDockingClearance(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetPrimedEquipment(), PlayerShipShowHUDSelector(), PlayerShipShowHUDSelector(), PlayerShipUseSpecialCargo(), PlayerShipUseSpecialCargo(), QuaternionConstruct(), QuaternionDot(), QuaternionDot(), QuaternionMultiply(), QuaternionMultiply(), QuaternionRotate(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionRotateZ(), ShipAddCargoEntity(), ShipAddCargoEntity(), ShipAddCollisionException(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipAdjustCargo(), ShipAwardEquipment(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCanAwardEquipment(), ShipCheckScanner(), ShipCheckScanner(), ShipCommsMessage(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDealEnergyDamage(), ShipDumpCargo(), ShipDumpCargo(), ShipEjectItem(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEjectSpecificItem(), ShipEnterWormhole(), ShipEnterWormhole(), ShipEquipmentStatus(), ShipEquipmentStatus(), ShipExitAI(), ShipExitAI(), ShipExitSystem(), ShipExitSystem(), ShipExplode(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupContainsShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipHasEquipmentProviding(), ShipHasEquipmentProviding(), ShipHasRole(), ShipHasRole(), ShipOfferToEscort(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipPatrolReportIn(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipRemove(), ShipRemove(), ShipRemoveCollisionException(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveDefenseTarget(), ShipRemoveEquipment(), ShipRemoveEquipment(), ShipRunLegacyScriptActions(), ShipRunLegacyScriptActions(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetBounty(), ShipSetBounty(), ShipSetCargo(), ShipSetCargo(), ShipSetCargoType(), ShipSetCargoType(), ShipSetCrew(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetMaterials(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipSetScript(), ShipSetScript(), ShipSetShaders(), ShipSetShaders(), ShipSpawn(), ShipSpawn(), ShipStaticKeysForRole(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticRoleIsInCategory(), ShipStaticSetShipDataForKey(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), ShipSwitchAI(), ShipThreatAssessment(), ShipThreatAssessment(), SoundSourcePlay(), SoundSourcePlay(), SoundStaticLoad(), SoundStaticLoad(), SoundStaticPlayMusic(), SoundStaticPlayMusic(), SoundStaticStopMusic(), SoundStaticStopMusic(), SpecialJSWarning(), SpecialJSWarning(), StationAbortDockingForShip(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationCanDockShip(), StationCanDockShip(), StationLaunchShipWithRole(), StationLaunchShipWithRole(), StationRemoveShipFromShipyard(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetMarketQuantity(), SunGoNova(), SunGoNova(), SystemAddGroup(), SystemAddGroupToRoute(), SystemAddMoon(), SystemAddMoon(), SystemAddPlanet(), SystemAddPlanet(), SystemAddShips(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddShipsToRoute(), SystemAddVisualEffect(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSamplePrice(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), SystemInfoStaticFilteredSystems(), SystemInfoStaticFilteredSystems(), SystemInfoStaticSetInterstellarProperty(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemLocationFromCode(), SystemSetPopulator(), SystemSetPopulator(), SystemSetWaypoint(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemShipsWithRole(), SystemStaticInfoForSystem(), SystemStaticInfoForSystem(), SystemStaticSystemIDForName(), SystemStaticSystemIDForName(), SystemStaticSystemNameForID(), SystemStaticSystemNameForID(), TimerConstruct(), TimerConstruct(), ValidateContracts(), VectorAdd(), VectorAdd(), VectorAngleTo(), VectorAngleTo(), VectorConstruct(), VectorCross(), VectorCross(), VectorDistanceTo(), VectorDistanceTo(), VectorDot(), VectorDot(), VectorFromCoordinateSystem(), VectorFromCoordinateSystem(), VectorMultiply(), VectorMultiply(), VectorRotateBy(), VectorRotateBy(), VectorRotationTo(), VectorRotationTo(), VectorSquaredDistanceTo(), VectorSquaredDistanceTo(), VectorStaticInterpolate(), VectorStaticInterpolate(), VectorStaticRandom(), VectorStaticRandom(), VectorStaticRandomDirection(), VectorStaticRandomDirection(), VectorStaticRandomDirectionAndLength(), VectorStaticRandomDirectionAndLength(), VectorSubtract(), VectorSubtract(), VectorToCoordinateSystem(), VectorToCoordinateSystem(), VectorTripleProduct(), VectorTripleProduct(), VisualEffectScale(), VisualEffectScale(), VisualEffectSetMaterials(), VisualEffectSetMaterials(), VisualEffectSetMaterialsInternal(), VisualEffectSetMaterialsInternal(), VisualEffectSetShaders(), and VisualEffectSetShaders().
| #define OOJS_METHOD_READONLY OOJS_PROP_HIDDEN_READONLY |
Definition at line 654 of file OOJavaScriptEngine.h.
Referenced by InitOOJSFont(), InitOOJSFont(), and InitOOJSFrameCallbacks().
| #define OOJS_PROP_HIDDEN_READONLY (JSPROP_PERMANENT | JSPROP_READONLY) |
Definition at line 651 of file OOJavaScriptEngine.h.
| #define OOJS_PROP_HIDDEN_READONLY_CB (OOJS_PROP_HIDDEN_READONLY | JSPROP_SHARED) |
Definition at line 661 of file OOJavaScriptEngine.h.
| #define OOJS_PROP_HIDDEN_READWRITE (JSPROP_PERMANENT) |
Definition at line 650 of file OOJavaScriptEngine.h.
| #define OOJS_PROP_HIDDEN_READWRITE_CB (OOJS_PROP_HIDDEN_READWRITE | JSPROP_SHARED) |
Definition at line 660 of file OOJavaScriptEngine.h.
| #define OOJS_PROP_READONLY (JSPROP_PERMANENT | JSPROP_ENUMERATE | JSPROP_READONLY) |
Definition at line 647 of file OOJavaScriptEngine.h.
Referenced by CreateOOJSGlobal(), OOJSScript::defineProperty:withID:inContext:, InitOOJSClock(), InitOOJSClock(), InitOOJSFont(), InitOOJSFont(), InitOOJSManifest(), InitOOJSManifest(), InitOOJSMission(), InitOOJSMission(), InitOOJSMissionVariables(), InitOOJSMissionVariables(), InitOOJSOolite(), InitOOJSOolite(), InitOOJSPlayer(), InitOOJSPlayer(), InitOOJSPlayerShip(), InitOOJSPlayerShip(), InitOOJSSystem(), InitOOJSSystem(), InitOOJSWorldScripts(), InitOOJSWorldScripts(), and WorldScriptsGetOwnProperty().
| #define OOJS_PROP_READONLY_CB (OOJS_PROP_READONLY | JSPROP_SHARED) |
Definition at line 658 of file OOJavaScriptEngine.h.
Referenced by WorldScriptsEnumerate().
| #define OOJS_PROP_READWRITE (JSPROP_PERMANENT | JSPROP_ENUMERATE) |
Definition at line 646 of file OOJavaScriptEngine.h.
| #define OOJS_PROP_READWRITE_CB (OOJS_PROP_READWRITE | JSPROP_SHARED) |
Definition at line 657 of file OOJavaScriptEngine.h.
| #define OOJS_RETURN | ( | v | ) |
Definition at line 669 of file OOJavaScriptEngine.h.
Referenced by ShipEquipmentStatus(), ShipEquipmentStatus(), SystemStaticInfoForSystem(), and SystemStaticInfoForSystem().
| #define OOJS_RETURN_BOOL | ( | v | ) |
Definition at line 677 of file OOJavaScriptEngine.h.
Referenced by ClockAddSeconds(), ClockAddSeconds(), DockIsQueued(), DockIsQueued(), GlobalClearExtraGuiScreenKeys(), GlobalClearExtraGuiScreenKeys(), GlobalIsValidFrameCallback(), GlobalIsValidFrameCallback(), GlobalPauseGame(), GlobalPauseGame(), GlobalQuitGame(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetGuiColorSettingForKey(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalSetScreenOverlay(), ManifestSetComment(), ManifestSetComment(), ManifestSetShortComment(), ManifestSetShortComment(), MissionRunScreen(), MissionRunScreen(), MissionRunShipLibrary(), MissionRunShipLibrary(), MissionUnmarkSystem(), MissionUnmarkSystem(), PlayerEndScenario(), PlayerEndScenario(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerShipAddParcel(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelHyperspaceCountdown(), PlayerShipCancelHyperspaceCountdown(), PlayerShipEngageAutopilotToStation(), PlayerShipEngageAutopilotToStation(), PlayerShipRemoveContract(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRemovePassenger(), PlayerShipResetCustomView(), PlayerShipResetCustomView(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetPrimedEquipment(), PlayerShipSetPrimedEquipment(), PlayerShipTakeInternalDamage(), PlayerShipTakeInternalDamage(), ShipAbandonShip(), ShipAbandonShip(), ShipAddCargoEntity(), ShipAddCargoEntity(), ShipAdjustCargo(), ShipAdjustCargo(), ShipAwardEquipment(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCanAwardEquipment(), ShipExitSystem(), ShipExitSystem(), ShipFireECM(), ShipFireECM(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupContainsShip(), ShipGroupContainsShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipHasEquipmentProviding(), ShipHasEquipmentProviding(), ShipHasRole(), ShipHasRole(), ShipMarkTargetForFines(), ShipMarkTargetForFines(), ShipOfferToEscort(), ShipOfferToEscort(), ShipRemoveEquipment(), ShipRemoveEquipment(), ShipRestoreSubEntities(), ShipRestoreSubEntities(), ShipSetCargo(), ShipSetCargo(), ShipSetCargoType(), ShipSetCargoType(), ShipSetCrew(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipSetShaders(), ShipSetShaders(), ShipStaticRoleIsInCategory(), ShipStaticRoleIsInCategory(), ShipStaticSetShipDataForKey(), ShipStaticSetShipDataForKey(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationCanDockShip(), StationCanDockShip(), StationRemoveShipFromShipyard(), StationRemoveShipFromShipyard(), StationSetMarketPrice(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetMarketQuantity(), TimerStart(), TimerStart(), VisualEffectRestoreSubEntities(), VisualEffectRestoreSubEntities(), VisualEffectSetMaterialsInternal(), VisualEffectSetMaterialsInternal(), VisualEffectSetShaders(), and VisualEffectSetShaders().
| #define OOJS_RETURN_DOUBLE | ( | value | ) |
Definition at line 692 of file OOJavaScriptEngine.h.
Referenced by FontMeasureString(), FontMeasureString(), QuaternionDot(), QuaternionDot(), ShipThreatAssessment(), ShipThreatAssessment(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), VectorAngleTo(), VectorAngleTo(), VectorDistanceTo(), VectorDistanceTo(), VectorDot(), VectorDot(), VectorMagnitude(), VectorMagnitude(), VectorSquaredDistanceTo(), VectorSquaredDistanceTo(), VectorSquaredMagnitude(), VectorSquaredMagnitude(), VectorTripleProduct(), and VectorTripleProduct().
| #define OOJS_RETURN_HPVECTOR | ( | value | ) |
Definition at line 690 of file OOJavaScriptEngine.h.
Referenced by EntityGetProperty(), ShipGetProperty(), ShipGetSafeCourseToDestination(), ShipGetSafeCourseToDestination(), SystemLocationFromCode(), SystemLocationFromCode(), VectorAdd(), VectorAdd(), VectorCross(), VectorCross(), VectorDirection(), VectorDirection(), VectorFromCoordinateSystem(), VectorFromCoordinateSystem(), VectorMultiply(), VectorMultiply(), VectorRotateBy(), VectorRotateBy(), VectorStaticInterpolate(), VectorStaticInterpolate(), VectorStaticRandom(), VectorStaticRandom(), VectorStaticRandomDirection(), VectorStaticRandomDirection(), VectorStaticRandomDirectionAndLength(), VectorStaticRandomDirectionAndLength(), VectorSubtract(), VectorSubtract(), VectorToCoordinateSystem(), and VectorToCoordinateSystem().
| #define OOJS_RETURN_INT | ( | v | ) |
Definition at line 678 of file OOJavaScriptEngine.h.
Referenced by GlobalAddFrameCallback(), GlobalAddFrameCallback(), OoliteCompareVersion(), OoliteCompareVersion(), ShipDamageAssessment(), ShipDamageAssessment(), SystemCountEntitiesWithScanClass(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemCountShipsWithRole(), SystemStaticSystemIDForName(), and SystemStaticSystemIDForName().
| #define OOJS_RETURN_JSOBJECT | ( | o | ) |
Definition at line 674 of file OOJavaScriptEngine.h.
Referenced by QuaternionConstruct(), and VectorConstruct().
| #define OOJS_RETURN_NULL OOJS_RETURN(JSVAL_NULL) |
Definition at line 676 of file OOJavaScriptEngine.h.
Referenced by ShipDumpCargo(), ShipDumpCargo(), ShipRecallDockingInstructions(), ShipRecallDockingInstructions(), ShipRequestDockingInstructions(), and ShipRequestDockingInstructions().
| #define OOJS_RETURN_OBJECT | ( | o | ) |
Definition at line 679 of file OOJavaScriptEngine.h.
Referenced by ClockClockStringForTime(), ClockClockStringForTime(), EquipmentInfoStaticInfoForKey(), EquipmentInfoStaticInfoForKey(), GlobalAutoAIForRole(), GlobalAutoAIForRole(), GlobalDisplayNameForCommodity(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalExpandMissionText(), GlobalGetGuiColorSettingForKey(), GlobalGetGuiColorSettingForKey(), GlobalGetScreenBackgroundForKey(), GlobalGetScreenBackgroundForKey(), GlobalKeyBindingDescription(), GlobalKeyBindingDescription(), GlobalRandomInhabitantsDescription(), GlobalRandomInhabitantsDescription(), GlobalRandomName(), GlobalRandomName(), JSClockToString(), JSClockToString(), ManifestComment(), ManifestComment(), ManifestShortComment(), ManifestShortComment(), OOJSObjectWrapperToString(), OOJSObjectWrapperToString(), QuaternionToSource(), QuaternionToSource(), QuaternionToString(), QuaternionToString(), ShipCheckCourseToDestination(), ShipCheckCourseToDestination(), ShipCheckScanner(), ShipCheckScanner(), ShipDumpCargo(), ShipDumpCargo(), ShipEjectItem(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEjectSpecificItem(), ShipEquipmentStatus(), ShipEquipmentStatus(), ShipFindNearestStation(), ShipFindNearestStation(), ShipFireMissile(), ShipFireMissile(), ShipGetMaterials(), ShipGetMaterials(), ShipGetShaders(), ShipGetShaders(), ShipGroupConstruct(), ShipGroupConstruct(), ShipRecallDockingInstructions(), ShipRecallDockingInstructions(), ShipRequestDockingInstructions(), ShipRequestDockingInstructions(), ShipSelectNewMissile(), ShipSelectNewMissile(), ShipSpawn(), ShipSpawn(), ShipStaticKeys(), ShipStaticKeys(), ShipStaticKeysForRole(), ShipStaticKeysForRole(), ShipStaticRoles(), ShipStaticRoles(), ShipStaticShipDataForKey(), ShipStaticShipDataForKey(), SoundSourceConstruct(), SoundSourceConstruct(), SoundStaticLoad(), SoundStaticLoad(), SoundStaticMusicSoundSource(), SoundStaticMusicSoundSource(), StationLaunchDefenseShip(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShipWithRole(), StationLaunchShuttle(), StationLaunchShuttle(), SystemAddMoon(), SystemAddMoon(), SystemAddPlanet(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemAddVisualEffect(), SystemEntitiesWithScanClass(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemShipsWithPrimaryRole(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemShipsWithRole(), SystemStaticSystemNameForID(), SystemStaticSystemNameForID(), SystemToString(), SystemToString(), TimerConstruct(), VectorToSource(), VectorToSource(), VectorToString(), VectorToString(), VisualEffectGetMaterials(), VisualEffectGetMaterials(), VisualEffectGetShaders(), and VisualEffectGetShaders().
| #define OOJS_RETURN_QUATERNION | ( | value | ) |
Definition at line 691 of file OOJavaScriptEngine.h.
Referenced by EntityGetProperty(), PlanetGetProperty(), QuaternionConjugate(), QuaternionConjugate(), QuaternionMultiply(), QuaternionMultiply(), QuaternionNormalize(), QuaternionNormalize(), QuaternionRotate(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionRotateZ(), QuaternionStaticRandom(), QuaternionStaticRandom(), ShipGetProperty(), VectorRotationTo(), VectorRotationTo(), and WaypointGetProperty().
| #define OOJS_RETURN_VECTOR | ( | value | ) |
Definition at line 689 of file OOJavaScriptEngine.h.
Referenced by EntityGetProperty(), ExhaustPlumeGetProperty(), PlanetGetProperty(), PlayerShipGetProperty(), QuaternionVectorForward(), QuaternionVectorForward(), QuaternionVectorRight(), QuaternionVectorRight(), QuaternionVectorUp(), QuaternionVectorUp(), ShipGetProperty(), SoundSourceGetProperty(), SystemInfoGetProperty(), and VisualEffectGetProperty().
| #define OOJS_RETURN_VOID OOJS_RETURN(JSVAL_VOID) |
Definition at line 675 of file OOJavaScriptEngine.h.
Referenced by ExhaustPlumeRemove(), ExhaustPlumeRemove(), FlasherRemove(), FlasherRemove(), GlobalLog(), GlobalLog(), GlobalLog(), GlobalRemoveFrameCallback(), GlobalRemoveFrameCallback(), MissionAddMessageText(), MissionAddMessageText(), MissionMarkSystem(), MissionMarkSystem(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), OoliteCompareVersion(), OoliteCompareVersion(), PlayerAddMessageToArrivalReport(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerConsoleMessage(), PlayerDecreaseContractReputation(), PlayerDecreaseContractReputation(), PlayerDecreaseParcelReputation(), PlayerDecreaseParcelReputation(), PlayerDecreasePassengerReputation(), PlayerDecreasePassengerReputation(), PlayerIncreaseContractReputation(), PlayerIncreaseContractReputation(), PlayerIncreaseParcelReputation(), PlayerIncreaseParcelReputation(), PlayerIncreasePassengerReputation(), PlayerIncreasePassengerReputation(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipCancelDockingRequest(), PlayerShipCancelDockingRequest(), PlayerShipDisengageAutopilot(), PlayerShipDisengageAutopilot(), PlayerShipEngageAutopilotToStation(), PlayerShipEngageAutopilotToStation(), PlayerShipHideHUDSelector(), PlayerShipHideHUDSelector(), PlayerShipLaunch(), PlayerShipLaunch(), PlayerShipRemoveAllCargo(), PlayerShipRemoveAllCargo(), PlayerShipRequestDockingClearance(), PlayerShipRequestDockingClearance(), PlayerShipResetScannerZoom(), PlayerShipResetScannerZoom(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomHUDDial(), PlayerShipSetMultiFunctionText(), PlayerShipSetMultiFunctionText(), PlayerShipShowHUDSelector(), PlayerShipShowHUDSelector(), PlayerShipUseSpecialCargo(), PlayerShipUseSpecialCargo(), PlayerStopAudioMessage(), PlayerStopAudioMessage(), RemoveOrExplodeShip(), RemoveOrExplodeShip(), ShipAddCollisionException(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAddDefenseTarget(), ShipBecomeCascadeExplosion(), ShipBecomeCascadeExplosion(), ShipBroadcastCascadeImminent(), ShipBroadcastCascadeImminent(), ShipBroadcastDistressMessage(), ShipBroadcastDistressMessage(), ShipClearDefenseTargets(), ShipClearDefenseTargets(), ShipCommsMessage(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDealEnergyDamage(), ShipDeployEscorts(), ShipDeployEscorts(), ShipDockEscorts(), ShipDockEscorts(), ShipEnterWormhole(), ShipEnterWormhole(), ShipExitAI(), ShipExitAI(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipNotifyGroupOfWormhole(), ShipNotifyGroupOfWormhole(), ShipPatrolReportIn(), ShipPatrolReportIn(), ShipPerformAttack(), ShipPerformAttack(), ShipPerformCollect(), ShipPerformCollect(), ShipPerformEscort(), ShipPerformEscort(), ShipPerformFaceDestination(), ShipPerformFaceDestination(), ShipPerformFlee(), ShipPerformFlee(), ShipPerformFlyToRangeFromDestination(), ShipPerformFlyToRangeFromDestination(), ShipPerformHold(), ShipPerformHold(), ShipPerformIdle(), ShipPerformIdle(), ShipPerformIntercept(), ShipPerformIntercept(), ShipPerformLandOnPlanet(), ShipPerformLandOnPlanet(), ShipPerformMining(), ShipPerformMining(), ShipPerformScriptedAI(), ShipPerformScriptedAI(), ShipPerformScriptedAttackAI(), ShipPerformScriptedAttackAI(), ShipPerformStop(), ShipPerformStop(), ShipPerformTumble(), ShipPerformTumble(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipRemoveCollisionException(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveDefenseTarget(), ShipRequestHelpFromGroup(), ShipRequestHelpFromGroup(), ShipRunLegacyScriptActions(), ShipRunLegacyScriptActions(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetBounty(), ShipSetScript(), ShipSetScript(), ShipSwitchAI(), ShipSwitchAI(), ShipThrowSpark(), ShipThrowSpark(), ShipUpdateEscortFormation(), ShipUpdateEscortFormation(), SoundSourcePlay(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourcePlayOrRepeat(), SoundSourceStop(), SoundSourceStop(), SoundStaticPlayMusic(), SoundStaticPlayMusic(), SoundStaticStopMusic(), SoundStaticStopMusic(), SpecialJSWarning(), SpecialJSWarning(), StationAbortAllDockings(), StationAbortAllDockings(), StationAbortDockingForShip(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationCanDockShip(), StationDecreaseAlertLevel(), StationDecreaseAlertLevel(), StationDockPlayer(), StationDockPlayer(), StationIncreaseAlertLevel(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketQuantity(), SunCancelNova(), SunCancelNova(), SunGoNova(), SunGoNova(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), SystemInfoStaticSetInterstellarProperty(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLegacySpawnShip(), SystemSendAllShipsAway(), SystemSendAllShipsAway(), SystemSetPopulator(), SystemSetPopulator(), SystemSetWaypoint(), SystemSetWaypoint(), TimerStop(), TimerStop(), VisualEffectRemove(), and VisualEffectRemove().
| #define OOJS_RETURN_WITH_HELPER | ( | helper, | |
| value ) |
Definition at line 681 of file OOJavaScriptEngine.h.
Referenced by PlayerShipGetProperty(), and SystemInfoGetProperty().
| #define OOJS_RVAL JS_RVAL(context, vp) |
Definition at line 666 of file OOJavaScriptEngine.h.
Referenced by SystemInfoSamplePrice().
| #define OOJS_SET_RVAL | ( | v | ) |
Definition at line 667 of file OOJavaScriptEngine.h.
Referenced by QuaternionToArray(), SystemInfoStaticFilteredSystems(), and VectorToArray().
| #define OOJS_THIS JS_THIS_OBJECT(context, vp) |
Definition at line 664 of file OOJavaScriptEngine.h.
Referenced by DockIsQueued(), DockIsQueued(), OOJSObjectWrapperToString(), QuaternionConjugate(), QuaternionConjugate(), QuaternionDot(), QuaternionDot(), QuaternionMultiply(), QuaternionMultiply(), QuaternionNormalize(), QuaternionNormalize(), QuaternionRotate(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionRotateZ(), QuaternionToArray(), QuaternionToArray(), QuaternionToSource(), QuaternionToSource(), QuaternionToString(), QuaternionToString(), QuaternionVectorForward(), QuaternionVectorForward(), QuaternionVectorRight(), QuaternionVectorRight(), QuaternionVectorUp(), QuaternionVectorUp(), ShipExplode(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupContainsShip(), ShipGroupContainsShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipRemove(), ShipSetMaterials(), ShipSetShaders(), SoundSourcePlay(), SoundSourcePlay(), SoundSourcePlayOrRepeat(), SoundSourcePlayOrRepeat(), SoundSourceStop(), SoundSourceStop(), StationAbortAllDockings(), StationAbortAllDockings(), StationAbortDockingForShip(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationCanDockShip(), StationDecreaseAlertLevel(), StationDockPlayer(), StationDockPlayer(), StationIncreaseAlertLevel(), StationLaunchDefenseShip(), StationLaunchEscort(), StationLaunchMiner(), StationLaunchPatrol(), StationLaunchPirateShip(), StationLaunchPolice(), StationLaunchScavenger(), StationLaunchShipWithRole(), StationLaunchShuttle(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketQuantity(), SunCancelNova(), SunCancelNova(), SunGoNova(), SunGoNova(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSamplePrice(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), TimerStart(), TimerStart(), TimerStop(), TimerStop(), VectorAdd(), VectorAdd(), VectorAngleTo(), VectorAngleTo(), VectorCross(), VectorCross(), VectorDirection(), VectorDirection(), VectorDistanceTo(), VectorDistanceTo(), VectorDot(), VectorDot(), VectorFromCoordinateSystem(), VectorFromCoordinateSystem(), VectorMagnitude(), VectorMagnitude(), VectorMultiply(), VectorMultiply(), VectorRotateBy(), VectorRotateBy(), VectorRotationTo(), VectorRotationTo(), VectorSquaredDistanceTo(), VectorSquaredDistanceTo(), VectorSquaredMagnitude(), VectorSquaredMagnitude(), VectorSubtract(), VectorSubtract(), VectorToArray(), VectorToArray(), VectorToCoordinateSystem(), VectorToCoordinateSystem(), VectorToSource(), VectorToSource(), VectorToString(), VectorToString(), VectorTripleProduct(), VectorTripleProduct(), VisualEffectSetMaterials(), and VisualEffectSetShaders().
| #define OOJSAddGCObjectRoot | ( | context, | |
| root, | |||
| name ) |
Definition at line 547 of file OOJavaScriptEngine.h.
Referenced by OOJSTimer(Private)::initWithDelay:interval:context:function:this:, JSSpecialFunctionsObjectWrapper(), MissionRunCallback(), and Entity(OOJavaScriptExtensions)::oo_jsValueInContext:.
| #define OOJSAddGCStringRoot | ( | context, | |
| root, | |||
| name ) |
Definition at line 546 of file OOJavaScriptEngine.h.
| #define OOJSAddGCThingRoot | ( | context, | |
| root, | |||
| name ) |
Definition at line 548 of file OOJavaScriptEngine.h.
| #define OOJSAddGCValueRoot | ( | context, | |
| root, | |||
| name ) |
Definition at line 545 of file OOJavaScriptEngine.h.
Referenced by AddCallback(), ShipEntity::doScriptEvent:withArguments:, OOJSFunction::evaluateWithContext:scope:arguments:result:, GrowCallbackList(), InitOOJSMission(), OOJSTimer(Private)::initWithDelay:interval:context:function:this:, and MissionRunCallback().
| #define OOJSDescribeLocation | ( | cx, | |
| frame ) |
Definition at line 611 of file OOJavaScriptEngine.h.
| #define OOJSDumpStack | ( | cx | ) |
Definition at line 608 of file OOJavaScriptEngine.h.
Referenced by InterruptHandler(), OperationCallback(), and ReportJSError().
| #define OOJSENGINE_MONITOR_SUPPORT OO_DEBUG_MONITOR_ENABLED |
Definition at line 33 of file OOJavaScriptEngine.h.
| #define OOJSFreeValue | ( | context, | |
| value ) |
Definition at line 144 of file OOJavaScriptEngine.h.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, DockEntity::allowsLaunchingOf:, ShipEntity::behaviour_scripted_ai:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, StationEntity::dockingInstructionsForShip:, ShipEntity::doScriptEvent:withArgument:, ShipEntity::doScriptEvent:withArgument:andArgument:, ShipEntity::doScriptEvent:withArguments:, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, OOShipRegistry(OODataLoader)::loadDemoShips, OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, ShipEntity(Private)::refreshEscortPositions, and Universe::shipsForSaleForSystem:withTL:atTime:.
| #define OOJSMarkConsoleEvalLocation | ( | cx, | |
| frame ) |
Definition at line 614 of file OOJavaScriptEngine.h.
| #define OOJSNullValue | ( | ) |
Definition at line 150 of file OOJavaScriptEngine.h.
| #define OOJSSTR | ( | str | ) |
Definition at line 310 of file OOJavaScriptEngine.h.
Referenced by ShipEquipmentStatus().
| #define OOJSUndefinedValue | ( | ) |
Definition at line 149 of file OOJavaScriptEngine.h.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, DockEntity::allowsLaunchingOf:, ShipEntity::behaviour_scripted_ai:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, StationEntity::dockingInstructionsForShip:, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, OOShipRegistry(OODataLoader)::loadDemoShips, OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, PlayerEntity(OOPrivate)::noteCompassLostTarget, ShipEntity(Private)::refreshEscortPositions, and Universe::shipsForSaleForSystem:withTL:atTime:.
| typedef id(* OOJSClassConverterCallback) (JSContext *context, JSObject *object) |
Definition at line 525 of file OOJavaScriptEngine.h.
| typedef jsval OOJSVal |
Definition at line 143 of file OOJavaScriptEngine.h.
| BOOL JSEntityIsDemoShipPredicate | ( | Entity * | entity, |
| void * | parameter ) |
Definition at line 1949 of file OOJavaScriptEngine.m.
| BOOL JSEntityIsJavaScriptSearchablePredicate | ( | Entity * | entity, |
| void * | parameter ) |
Definition at line 1917 of file OOJavaScriptEngine.m.
References OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, STELLAR_TYPE_ATMOSPHERE, STELLAR_TYPE_MINIATURE, STELLAR_TYPE_MOON, STELLAR_TYPE_NORMAL_PLANET, and STELLAR_TYPE_SUN.
Referenced by FindJSVisibleEntities().
| BOOL JSEntityIsJavaScriptVisiblePredicate | ( | Entity * | entity, |
| void * | parameter ) |
Definition at line 1908 of file OOJavaScriptEngine.m.
References Entity::isVisibleToScripts, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
| BOOL JSFunctionPredicate | ( | Entity * | entity, |
| void * | parameter ) |
Definition at line 1868 of file OOJavaScriptEngine.m.
References EXPECT_NOT, JS_IsInRequest, nil, Entity::oo_jsValueInContext:, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSPauseTimeLimiter(), OOJSResumeTimeLimiter(), OOJSStartTimeLimiter, OOJSStopTimeLimiter, and OOJSValueIsFunction().
Referenced by SystemFilteredEntities(), and SystemFilteredEntities().
| OOINLINE JSContext * OOJSAcquireContext | ( | void | ) |
Definition at line 116 of file OOJavaScriptEngine.h.
References gOOJSMainThreadContext, JS_BeginRequest, and OOINLINE.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, PlayerEntity::activatePrimableEquipment:withMode:, PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, DockEntity::allowsLaunchingOf:, ShipEntity::behaviour_scripted_ai:, OOJSGuiScreenKeyDefinition::callback, OOJSInterfaceDefinition::callback, OOJSPopulatorDefinition::callback, OOJSGuiScreenKeyDefinition::callbackThis, OOJSInterfaceDefinition::callbackThis, OOJSPopulatorDefinition::callbackThis, CallForString(), OOJSScript::callMethodNamed:withArguments:count:result:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, Universe::carryPlayerOn:inWormhole:, ClearPendingCallback(), PlayerEntity::completeSetUpAndSetTarget:, PlayerEntity::cycleNextMultiFunctionDisplay:, PlayerEntity::cyclePreviousMultiFunctionDisplay:, OOJSScript::dealloc, OOJSScript::defineProperty:named:, OOJSGuiScreenKeyDefinition::deleteJSPointers, OOJSInterfaceDefinition::deleteJSPointers, OOJSPopulatorDefinition::deleteJSPointers, OOJSTimer::deleteJSPointers, Entity(OOJavaScriptExtensions)::deleteJSSelf, OOJSFunction::deleteJSValue, OOJSValue::deleteJSValue, OOJSTimer::descriptionComponents, OOJavaScriptEngine(Private)::destroyMainThreadContext, StationEntity::dockingInstructionsForShip:, OOCharacter::doScriptEvent:, OOVisualEffectEntity::doScriptEvent:, ShipEntity::doScriptEvent:, ShipEntity::doScriptEvent:withArgument:, ShipEntity::doScriptEvent:withArgument:andArgument:, ShipEntity::doScriptEvent:withArguments:, ShipEntity::doScriptEvent:withArguments:count:, PlayerEntity::doWorldEventUntilMissionScreen:, PlayerEntity::enterGalacticWitchspace, Universe::enterGUIViewModeWithMouseInteraction:, PlayerEntity::enterWitchspace, PlayerEntity::enterWormhole:, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, OOJSFunction::functionValue, OORegExpMatcher::init, OOJSValue::initWithJSValue:inContext:, OOJSFunction::initWithName:scope:code:argumentCount:argumentNames:fileName:lineNumber:context:, OOJSScript::initWithPath:, OOJSScript::initWithPath:properties:, OOJSScript::javaScriptEngineWillReset:, PlayerEntity(OOJavaScriptExtensions)::javaScriptEngineWillReset:, JSPlayerObject(), JSPlayerShipObject(), OOShipRegistry(OODataLoader)::loadDemoShips, PlayerEntity::markAsOffender:withReason:, ShipEntity::markAsOffender:withReason:, MissionRunCallback(), MissionRunCallback(), OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, PlayerEntity(OOPrivate)::noteCompassLostTarget, PlayerEntity::noteGUIDidChangeFrom:to:refresh:, PlayerEntity::noteGUIWillChangeTo:, ShipEntity::noteKilledBy:damageType:, ShipEntity::noteTakingDamage:from:type:, OOSystemInfo::oo_javaScriptEngineWillReset:, OOJSFrameCallbacksInvoke(), OOJSFrameCallbacksInvoke(), OOJSFrameCallbacksRemoveAll(), OOJSIDFromString(), OOJSInitJSIDCachePRIVATE(), OOJSInternAtomPRIVATE(), OOJSRegisterClass(), OOJSStrLiteralCachePRIVATE(), OOStringFromDeciCredits(), OOStringFromJSID(), OOStringFromJSID(), Universe::populateNormalSpace, OOJSScript::propertyNamed:, ShipEntity(Private)::refreshEscortPositions, OOJSTimer(Private)::releaseJSValues, OOJavaScriptEngine::removeGCObjectRoot:, OOJavaScriptEngine::removeGCValueRoot:, Universe::repopulateSystem, OOJSGuiScreenKeyDefinition::runCallback:, OOJSInterfaceDefinition::runCallback:, OOJSPopulatorDefinition::runCallback:, ShipEntity(PureAI)::scanForNearestShipMatchingPredicate:, PlayerEntity::selectNextMultiFunctionDisplay, PlayerEntity::selectPreviousMultiFunctionDisplay, PlayerEntity::setBounty:withReasonAsString:, ShipEntity::setBounty:withReasonAsString:, OOJSGuiScreenKeyDefinition::setCallback:, OOJSInterfaceDefinition::setCallback:, OOJSPopulatorDefinition::setCallback:, OOJSGuiScreenKeyDefinition::setCallbackThis:, OOJSInterfaceDefinition::setCallbackThis:, OOJSPopulatorDefinition::setCallbackThis:, PlayerEntity::setInfoSystemID:moveChart:, OOJSScript::setProperty:named:, Universe::setUpWitchspaceBetweenSystem:andSystem:, Universe::shipsForSaleForSystem:withTL:atTime:, PlayerEntity::startUpComplete, OORegExpMatcher::string:matchesExpression:flags:, PlayerEntity(OOControlsPrivate)::switchToThisView:fromView:andProcessWeaponFacing:justNotify:, SyntaxIssue(), OOJSTimer::timerFired, OOECMBlastEntity::update:, and Universe::update:.
| BOOL OOJSArgumentListGetNumber | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| uintN | argc, | ||
| jsval * | argv, | ||
| double * | outNumber, | ||
| uintN * | outConsumed ) |
Definition at line 1073 of file OOJavaScriptEngine.m.
References OOJSArgumentListGetNumberNoError(), and OOJSReportBadArguments().
Referenced by QuaternionRotate(), QuaternionRotate(), QuaternionRotateX(), QuaternionRotateX(), QuaternionRotateY(), QuaternionRotateY(), QuaternionRotateZ(), QuaternionRotateZ(), SoundStaticPlayMusic(), SoundStaticPlayMusic(), VectorMultiply(), VectorMultiply(), VectorRotationTo(), VectorRotationTo(), VectorStaticInterpolate(), and VectorStaticInterpolate().
| BOOL OOJSArgumentListGetNumberNoError | ( | JSContext * | context, |
| uintN | argc, | ||
| jsval * | argv, | ||
| double * | outNumber, | ||
| uintN * | outConsumed ) |
Definition at line 1084 of file OOJavaScriptEngine.m.
References EXPECT_NOT, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by OOJSArgumentListGetNumber(), OOJSArgumentListGetNumber(), VectorStaticRandom(), VectorStaticRandom(), VectorStaticRandomDirection(), VectorStaticRandomDirection(), VectorStaticRandomDirectionAndLength(), and VectorStaticRandomDirectionAndLength().
| id OOJSBasicPrivateObjectConverter | ( | JSContext * | context, |
| JSObject * | object ) |
Definition at line 2223 of file OOJavaScriptEngine.m.
Referenced by InitOOJSDock(), InitOOJSDock(), InitOOJSEntity(), InitOOJSEntity(), InitOOJSEquipmentInfo(), InitOOJSEquipmentInfo(), InitOOJSExhaustPlume(), InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSFlasher(), InitOOJSManifest(), InitOOJSManifest(), InitOOJSPlanet(), InitOOJSPlanet(), InitOOJSPlayer(), InitOOJSPlayer(), InitOOJSPlayerShip(), InitOOJSPlayerShip(), InitOOJSScript(), InitOOJSScript(), InitOOJSShip(), InitOOJSShip(), InitOOJSShipGroup(), InitOOJSShipGroup(), InitOOJSSound(), InitOOJSSound(), InitOOJSSoundSource(), InitOOJSSoundSource(), InitOOJSStation(), InitOOJSStation(), InitOOJSSun(), InitOOJSSun(), InitOOJSSystemInfo(), InitOOJSSystemInfo(), InitOOJSTimer(), InitOOJSTimer(), InitOOJSVisualEffect(), InitOOJSVisualEffect(), InitOOJSWaypoint(), InitOOJSWaypoint(), InitOOJSWormhole(), and InitOOJSWormhole().
| NSString * OOJSDescribeValue | ( | JSContext * | context, |
| jsval | value, | ||
| BOOL | abbreviateObjects ) |
Definition at line 1578 of file OOJavaScriptEngine.m.
References DescribeValue().
Referenced by ManifestSetProperty(), OOJSReportBadPropertyValue(), and OOJSReportBadPropertyValue().
| NSDictionary * OOJSDictionaryFromJSObject | ( | JSContext * | context, |
| JSObject * | object ) |
Definition at line 2052 of file OOJavaScriptEngine.m.
References EXPECT_NOT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSNativeObjectFromJSValue(), and OOStringFromJSString().
Referenced by JSObjectConverter(), OOJSDictionaryFromJSValue(), OOJSDictionaryFromJSValue(), and GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:.
| NSDictionary * OOJSDictionaryFromJSValue | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 2039 of file OOJavaScriptEngine.m.
References EXPECT_NOT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJSDictionaryFromJSObject().
| NSDictionary * OOJSDictionaryFromStringTable | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 2103 of file OOJavaScriptEngine.m.
References EXPECT_NOT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOStringFromJSString(), and OOStringFromJSValueEvenIfNull().
Referenced by GlobalExpandDescription(), GlobalExpandDescription(), GlobalExpandMissionText(), and GlobalExpandMissionText().
| OOINLINE JSClass * OOJSGetClass | ( | JSContext * | cx, |
| JSObject * | obj ) |
Definition at line 386 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by DescribeValue(), OOJavaScriptEngine(Private)::lookUpStandardClassPointers, OOJSIsMemberOfSubclass(), OOJSNativeObjectFromJSObject(), OOJSObjectGetterImplPRIVATE(), OOJSObjectWrapperToString(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), and GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:.
| jsid OOJSIDFromString | ( | NSString * | string | ) |
Definition at line 873 of file OOJavaScriptEngine.m.
References EXPECT, EXPECT_NOT, nil, OOJSAcquireContext(), and OOJSRelinquishContext().
Referenced by JSObjectFromNSDictionary(), and RecordSharedProperties().
| OOINLINE BOOL OOJSIsMemberOfSubclass | ( | JSContext * | context, |
| JSObject * | object, | ||
| JSClass * | superclass ) |
Definition at line 508 of file OOJavaScriptEngine.h.
References OOINLINE, OOJSGetClass(), and OOJSIsSubclass().
Referenced by JSObjectGetQuaternion(), JSObjectGetQuaternion(), JSObjectGetVector(), and JSObjectGetVector().
| BOOL OOJSIsSubclass | ( | JSClass * | putativeSubclass, |
| JSClass * | superclass ) |
Definition at line 1975 of file OOJavaScriptEngine.m.
References sRegisteredSubClasses.
Referenced by OOJSIsMemberOfSubclass(), OOJSIsMemberOfSubclass(), OOJSObjectGetterImplPRIVATE(), and OOJSObjectGetterImplPRIVATE().
| id OOJSNativeObjectFromJSObject | ( | JSContext * | context, |
| JSObject * | object ) |
Definition at line 2182 of file OOJavaScriptEngine.m.
References nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSGetClass(), and sObjectConverters.
Referenced by ShipEntity::behaviour_scripted_ai:, GetParameterDictionary(), GetParameterDictionary(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), MissionMarkSystem(), MissionMarkSystem(), MissionUnmarkSystem(), MissionUnmarkSystem(), OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, OOJSNativeObjectFromJSValue(), OOJSNativeObjectFromJSValue(), OOJSNativeObjectOfClassFromJSObject(), OOJSNativeObjectOfClassFromJSObject(), OOJSObjectWrapperToString(), OOJSObjectWrapperToString(), ShipSetCrew(), ShipSetCrew(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipStaticSetShipDataForKey(), ShipStaticSetShipDataForKey(), StationAddShipToShipyard(), StationAddShipToShipyard(), SystemSetPopulator(), SystemSetPopulator(), OOJSTimer::timerFired, VisualEffectSetMaterialsInternal(), and VisualEffectSetMaterialsInternal().
| id OOJSNativeObjectFromJSValue | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 2155 of file OOJavaScriptEngine.m.
References nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOJSNativeObjectFromJSObject(), and OOStringFromJSValue().
Referenced by OOJSFunction::evaluateWithContext:scope:arguments:, JSArrayConverter(), JSArrayConverter(), JSValueToEquipmentKeyRelaxed(), JSValueToEquipmentKeyRelaxed(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), OOJSDictionaryFromJSObject(), OOJSDictionaryFromJSObject(), OOJSNativeObjectOfClassFromJSValue(), OOJSNativeObjectOfClassFromJSValue(), OoliteCompareVersion(), OoliteCompareVersion(), PlayerSetEscapePodDestination(), PlayerSetEscapePodDestination(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomHUDDial(), OOJSScript::propertyWithID:inContext:, ShipRunLegacyScriptActions(), ShipRunLegacyScriptActions(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), SystemInfoStaticSetInterstellarProperty(), and SystemInfoStaticSetInterstellarProperty().
| id OOJSNativeObjectOfClassFromJSObject | ( | JSContext * | context, |
| JSObject * | object, | ||
| Class | requiredClass ) |
Definition at line 2215 of file OOJavaScriptEngine.m.
References nil, and OOJSNativeObjectFromJSObject().
Referenced by ScriptAddProperty(), SystemInfoGetProperty(), SystemInfoGetProperty(), and SystemInfoSetProperty().
| id OOJSNativeObjectOfClassFromJSValue | ( | JSContext * | context, |
| jsval | value, | ||
| Class | requiredClass ) |
Definition at line 2207 of file OOJavaScriptEngine.m.
References nil, and OOJSNativeObjectFromJSValue().
Referenced by PlayerShipCancelDockingRequest(), PlayerShipCancelDockingRequest(), PlayerShipEngageAutopilotToStation(), PlayerShipEngageAutopilotToStation(), PlayerShipRequestDockingClearance(), PlayerShipRequestDockingClearance(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupContainsShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipGroupSetProperty(), ShipGroupSetProperty(), ShipSetProperty(), ShipSetProperty(), SoundFromJSValue(), and SoundFromJSValue().
| JSObject * OOJSObjectFromNativeObject | ( | JSContext * | context, |
| id | object ) |
Definition at line 1322 of file OOJavaScriptEngine.m.
References OOJSValueFromNativeObject().
Referenced by ShipEntity(PureAI)::scanForNearestShipMatchingPredicate:.
| BOOL OOJSObjectGetterImplPRIVATE | ( | JSContext * | context, |
| JSObject * | object, | ||
| JSClass * | requiredJSClass, | ||
| Class | requiredObjCClass, | ||
| const char * | name, | ||
| id * | outObject ) |
Definition at line 1990 of file OOJavaScriptEngine.m.
References EXPECT_NOT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_ENTER_NAMED, OOJS_PROFILE_EXIT, OOJSGetClass(), OOJSIsSubclass(), OOJSReportError(), and OOStringFromJSValue().
| void OOJSObjectWrapperFinalize | ( | JSContext * | context, |
| JSObject * | this ) |
Definition at line 1826 of file OOJavaScriptEngine.m.
References nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT_VOID.
Referenced by OOJSScript::dealloc, and SystemInfoFinalize().
| JSBool OOJSObjectWrapperToString | ( | JSContext * | context, |
| uintN | argc, | ||
| jsval * | vp ) |
Definition at line 1840 of file OOJavaScriptEngine.m.
References nil, OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJS_RETURN_OBJECT, OOJS_THIS, OOJSGetClass(), and OOJSNativeObjectFromJSObject().
| void OOJSPauseTimeLimiter | ( | void | ) |
Definition at line 129 of file OOJSEngineTimeManagement.m.
References OODisposeHighResTime, OOGetHighResTime, sLimiterPauseDepth, and sLimiterPauseStart.
Referenced by Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, Universe::findOneEntityMatchingPredicate:parameter:, JSFunctionPredicate(), MissionRunScreen(), MissionRunScreen(), OOJSReportPendingException(), OOJSReportWarningWithArguments(), PlanetSetProperty(), PlanetSetProperty(), ReportJSError(), SoundFromJSValue(), SoundFromJSValue(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoStaticFilteredSystems(), and SystemInfoStaticFilteredSystems().
| void OOJSRegisterObjectConverter | ( | JSClass * | theClass, |
| OOJSClassConverterCallback | converter ) |
Definition at line 2235 of file OOJavaScriptEngine.m.
References nil, and sObjectConverters.
Referenced by InitOOJSDock(), InitOOJSDock(), InitOOJSEntity(), InitOOJSEntity(), InitOOJSEquipmentInfo(), InitOOJSEquipmentInfo(), InitOOJSExhaustPlume(), InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSFlasher(), InitOOJSManifest(), InitOOJSManifest(), InitOOJSMissionVariables(), InitOOJSMissionVariables(), InitOOJSPlanet(), InitOOJSPlanet(), InitOOJSPlayer(), InitOOJSPlayer(), InitOOJSPlayerShip(), InitOOJSPlayerShip(), InitOOJSScript(), InitOOJSScript(), InitOOJSShip(), InitOOJSShip(), InitOOJSShipGroup(), InitOOJSShipGroup(), InitOOJSSound(), InitOOJSSound(), InitOOJSSoundSource(), InitOOJSSoundSource(), InitOOJSStation(), InitOOJSStation(), InitOOJSSun(), InitOOJSSun(), InitOOJSSystemInfo(), InitOOJSSystemInfo(), InitOOJSTimer(), InitOOJSTimer(), InitOOJSVisualEffect(), InitOOJSVisualEffect(), InitOOJSWaypoint(), InitOOJSWaypoint(), InitOOJSWormhole(), InitOOJSWormhole(), RegisterStandardObjectConverters(), and OOJavaScriptEngine(Private)::registerStandardObjectConverters.
| void OOJSRegisterSubclass | ( | JSClass * | subclass, |
| JSClass * | superclass ) |
Definition at line 1956 of file OOJavaScriptEngine.m.
References sRegisteredSubClasses.
Referenced by InitOOJSDock(), InitOOJSDock(), InitOOJSExhaustPlume(), InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSFlasher(), InitOOJSPlanet(), InitOOJSPlanet(), InitOOJSPlayerShip(), InitOOJSPlayerShip(), InitOOJSShip(), InitOOJSShip(), InitOOJSStation(), InitOOJSStation(), InitOOJSSun(), InitOOJSSun(), InitOOJSVisualEffect(), InitOOJSVisualEffect(), InitOOJSWaypoint(), InitOOJSWaypoint(), InitOOJSWormhole(), and InitOOJSWormhole().
| OOINLINE void OOJSRelinquishContext | ( | JSContext * | context | ) |
Definition at line 125 of file OOJavaScriptEngine.h.
References gOOJSMainThreadContext, JS_EndRequest, JS_IsInRequest, and OOINLINE.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, PlayerEntity::activatePrimableEquipment:withMode:, PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, DockEntity::allowsLaunchingOf:, ShipEntity::behaviour_scripted_ai:, OOJSScript::callMethodNamed:withArguments:count:result:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, Universe::carryPlayerOn:inWormhole:, ClearPendingCallback(), PlayerEntity::completeSetUpAndSetTarget:, PlayerEntity::cycleNextMultiFunctionDisplay:, PlayerEntity::cyclePreviousMultiFunctionDisplay:, OOJSScript::dealloc, OOJSScript::defineProperty:named:, OOJSGuiScreenKeyDefinition::deleteJSPointers, OOJSInterfaceDefinition::deleteJSPointers, OOJSPopulatorDefinition::deleteJSPointers, OOJSTimer::deleteJSPointers, OOJSFunction::deleteJSValue, OOJSValue::deleteJSValue, OOJSTimer::descriptionComponents, OOJavaScriptEngine(Private)::destroyMainThreadContext, StationEntity::dockingInstructionsForShip:, OOCharacter::doScriptEvent:, OOVisualEffectEntity::doScriptEvent:, ShipEntity::doScriptEvent:, ShipEntity::doScriptEvent:withArgument:, ShipEntity::doScriptEvent:withArgument:andArgument:, ShipEntity::doScriptEvent:withArguments:, ShipEntity::doScriptEvent:withArguments:count:, PlayerEntity::doWorldEventUntilMissionScreen:, PlayerEntity::enterGalacticWitchspace, Universe::enterGUIViewModeWithMouseInteraction:, PlayerEntity::enterWitchspace, PlayerEntity::enterWormhole:, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, OORegExpMatcher::init, OOJSFunction::initWithName:scope:code:argumentCount:argumentNames:fileName:lineNumber:context:, OOJSScript::initWithPath:, OOJSScript::initWithPath:properties:, OOJSScript::javaScriptEngineWillReset:, PlayerEntity(OOJavaScriptExtensions)::javaScriptEngineWillReset:, JSPlayerObject(), JSPlayerShipObject(), OOShipRegistry(OODataLoader)::loadDemoShips, PlayerEntity::markAsOffender:withReason:, ShipEntity::markAsOffender:withReason:, MissionRunCallback(), MissionRunCallback(), OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, PlayerEntity(OOPrivate)::noteCompassLostTarget, PlayerEntity::noteGUIDidChangeFrom:to:refresh:, PlayerEntity::noteGUIWillChangeTo:, ShipEntity::noteKilledBy:damageType:, ShipEntity::noteTakingDamage:from:type:, OOJSFrameCallbacksInvoke(), OOJSFrameCallbacksInvoke(), OOJSFrameCallbacksRemoveAll(), OOJSIDFromString(), OOJSInitJSIDCachePRIVATE(), OOJSStrLiteralCachePRIVATE(), OOStringFromDeciCredits(), OOStringFromJSID(), Universe::populateNormalSpace, OOJSScript::propertyNamed:, ShipEntity(Private)::refreshEscortPositions, OOJSTimer(Private)::releaseJSValues, OOJavaScriptEngine::removeGCObjectRoot:, OOJavaScriptEngine::removeGCValueRoot:, Universe::repopulateSystem, OOJSGuiScreenKeyDefinition::runCallback:, OOJSInterfaceDefinition::runCallback:, OOJSPopulatorDefinition::runCallback:, ShipEntity(PureAI)::scanForNearestShipMatchingPredicate:, PlayerEntity::selectNextMultiFunctionDisplay, PlayerEntity::selectPreviousMultiFunctionDisplay, PlayerEntity::setBounty:withReasonAsString:, ShipEntity::setBounty:withReasonAsString:, OOJSGuiScreenKeyDefinition::setCallback:, OOJSInterfaceDefinition::setCallback:, OOJSPopulatorDefinition::setCallback:, OOJSGuiScreenKeyDefinition::setCallbackThis:, OOJSInterfaceDefinition::setCallbackThis:, OOJSPopulatorDefinition::setCallbackThis:, PlayerEntity::setInfoSystemID:moveChart:, OOJSScript::setProperty:named:, Universe::setUpWitchspaceBetweenSystem:andSystem:, Universe::shipsForSaleForSystem:withTL:atTime:, PlayerEntity::startUpComplete, OORegExpMatcher::string:matchesExpression:flags:, PlayerEntity(OOControlsPrivate)::switchToThisView:fromView:andProcessWeaponFacing:justNotify:, SyntaxIssue(), OOJSTimer::timerFired, OOECMBlastEntity::update:, and Universe::update:.
| void OOJSReportBadArguments | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| uintN | argc, | ||
| jsval * | argv, | ||
| NSString * | message, | ||
| NSString * | expectedArgsDescription ) |
Definition at line 1052 of file OOJavaScriptEngine.m.
References nil, and OOJSReportErrorForCaller().
Referenced by ClockAddSeconds(), ClockAddSeconds(), ClockClockStringForTime(), ClockClockStringForTime(), DockIsQueued(), DockIsQueued(), EquipmentInfoStaticInfoForKey(), EquipmentInfoStaticInfoForKey(), FontMeasureString(), FontMeasureString(), GetRelativeToAndRange(), GetRelativeToAndRange(), GetThisQuaternion(), GetThisQuaternion(), GetThisVector(), GetThisVector(), GlobalAddFrameCallback(), GlobalAddFrameCallback(), GlobalAutoAIForRole(), GlobalAutoAIForRole(), GlobalClearExtraGuiScreenKeys(), GlobalClearExtraGuiScreenKeys(), GlobalDisplayNameForCommodity(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalExpandMissionText(), GlobalGetGuiColorSettingForKey(), GlobalGetGuiColorSettingForKey(), GlobalGetScreenBackgroundForKey(), GlobalGetScreenBackgroundForKey(), GlobalIsValidFrameCallback(), GlobalIsValidFrameCallback(), GlobalKeyBindingDescription(), GlobalKeyBindingDescription(), GlobalRandomInhabitantsDescription(), GlobalRandomInhabitantsDescription(), GlobalRemoveFrameCallback(), GlobalRemoveFrameCallback(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetGuiColorSettingForKey(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenOverlay(), GlobalSetScreenOverlay(), ManifestComment(), ManifestComment(), ManifestSetComment(), ManifestSetComment(), ManifestSetShortComment(), ManifestSetShortComment(), ManifestShortComment(), ManifestShortComment(), MissionMarkSystem(), MissionMarkSystem(), MissionRunScreen(), MissionRunScreen(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), MissionUnmarkSystem(), MissionUnmarkSystem(), OOJSArgumentListGetNumber(), OOJSArgumentListGetNumber(), PlayerAddMessageToArrivalReport(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerConsoleMessage(), PlayerEndScenario(), PlayerEndScenario(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetPlayerRole(), PlayerShipAddParcel(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipCancelDockingRequest(), PlayerShipEngageAutopilotToStation(), PlayerShipEngageAutopilotToStation(), PlayerShipHideHUDSelector(), PlayerShipHideHUDSelector(), PlayerShipRemoveContract(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipRequestDockingClearance(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetPrimedEquipment(), PlayerShipShowHUDSelector(), PlayerShipShowHUDSelector(), PlayerShipUseSpecialCargo(), PlayerShipUseSpecialCargo(), QuaternionConstruct(), QuaternionConstruct(), QuaternionFromArgumentList(), QuaternionFromArgumentList(), ShipAddCargoEntity(), ShipAddCargoEntity(), ShipAddCollisionException(), ShipAddCollisionException(), ShipAddDefenseTarget(), ShipAddDefenseTarget(), ShipAdjustCargo(), ShipAdjustCargo(), ShipAwardEquipment(), ShipAwardEquipment(), ShipCanAwardEquipment(), ShipCanAwardEquipment(), ShipCheckScanner(), ShipCheckScanner(), ShipCommsMessage(), ShipCommsMessage(), ShipDealEnergyDamage(), ShipDealEnergyDamage(), ShipDumpCargo(), ShipDumpCargo(), ShipEjectItem(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEjectSpecificItem(), ShipEnterWormhole(), ShipEnterWormhole(), ShipEquipmentStatus(), ShipEquipmentStatus(), ShipExitSystem(), ShipExitSystem(), ShipGroupAddShip(), ShipGroupAddShip(), ShipGroupConstruct(), ShipGroupConstruct(), ShipGroupContainsShip(), ShipGroupContainsShip(), ShipGroupRemoveShip(), ShipGroupRemoveShip(), ShipHasEquipmentProviding(), ShipHasEquipmentProviding(), ShipHasRole(), ShipHasRole(), ShipOfferToEscort(), ShipOfferToEscort(), ShipPatrolReportIn(), ShipPatrolReportIn(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipRemove(), ShipRemove(), ShipRemoveCollisionException(), ShipRemoveCollisionException(), ShipRemoveDefenseTarget(), ShipRemoveDefenseTarget(), ShipRemoveEquipment(), ShipRemoveEquipment(), ShipRunLegacyScriptActions(), ShipRunLegacyScriptActions(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetBounty(), ShipSetBounty(), ShipSetCargo(), ShipSetCargo(), ShipSetCargoType(), ShipSetCargoType(), ShipSetCrew(), ShipSetCrew(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetMaterials(), ShipSetMaterials(), ShipSetScript(), ShipSetScript(), ShipSetShaders(), ShipSetShaders(), ShipSpawn(), ShipSpawn(), ShipStaticKeysForRole(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticRoleIsInCategory(), ShipStaticSetShipDataForKey(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), ShipSwitchAI(), ShipThreatAssessment(), ShipThreatAssessment(), SoundSourcePlay(), SoundSourcePlay(), SoundStaticLoad(), SoundStaticLoad(), SoundStaticPlayMusic(), SoundStaticPlayMusic(), SoundStaticStopMusic(), SoundStaticStopMusic(), SpecialJSWarning(), SpecialJSWarning(), StationAbortDockingForShip(), StationAbortDockingForShip(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationCanDockShip(), StationCanDockShip(), StationLaunchShipWithRole(), StationLaunchShipWithRole(), StationRemoveShipFromShipyard(), StationRemoveShipFromShipyard(), StationSetInterface(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetMarketQuantity(), SystemAddMoon(), SystemAddMoon(), SystemAddPlanet(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemAddVisualEffect(), SystemCountEntitiesWithScanClass(), SystemCountEntitiesWithScanClass(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemCountShipsWithRole(), SystemEntitiesWithScanClass(), SystemEntitiesWithScanClass(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSamplePrice(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), SystemInfoStaticFilteredSystems(), SystemInfoStaticFilteredSystems(), SystemInfoStaticSetInterstellarProperty(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemLocationFromCode(), SystemSetPopulator(), SystemSetPopulator(), SystemSetWaypoint(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemShipsWithRole(), SystemStaticInfoForSystem(), SystemStaticInfoForSystem(), SystemStaticSystemIDForName(), SystemStaticSystemIDForName(), SystemStaticSystemNameForID(), SystemStaticSystemNameForID(), TimerConstruct(), TimerConstruct(), ValidateContracts(), ValidateContracts(), VectorConstruct(), VectorConstruct(), VectorFromArgumentList(), VectorFromArgumentList(), VectorFromCoordinateSystem(), VectorFromCoordinateSystem(), VectorStaticInterpolate(), VectorStaticInterpolate(), VectorToCoordinateSystem(), VectorToCoordinateSystem(), VisualEffectScale(), VisualEffectScale(), VisualEffectSetMaterials(), VisualEffectSetMaterials(), VisualEffectSetShaders(), and VisualEffectSetShaders().
| void OOJSReportBadPropertySelector | ( | JSContext * | context, |
| JSObject * | thisObj, | ||
| jsid | propID, | ||
| JSPropertySpec * | propertySpec ) |
Definition at line 1035 of file OOJavaScriptEngine.m.
References OOJSGetClass(), OOJSReportError(), and OOStringFromJSPropertyIDAndSpec().
Referenced by ClockGetProperty(), ClockGetProperty(), DockGetProperty(), DockGetProperty(), DockSetProperty(), DockSetProperty(), EntityGetProperty(), EntityGetProperty(), EntitySetProperty(), EntitySetProperty(), EquipmentInfoGetProperty(), EquipmentInfoGetProperty(), EquipmentInfoSetProperty(), EquipmentInfoSetProperty(), ExhaustPlumeGetProperty(), ExhaustPlumeGetProperty(), ExhaustPlumeSetProperty(), ExhaustPlumeSetProperty(), FlasherGetProperty(), FlasherGetProperty(), FlasherSetProperty(), FlasherSetProperty(), GlobalGetProperty(), GlobalGetProperty(), ManifestGetProperty(), ManifestGetProperty(), MissionGetProperty(), MissionGetProperty(), MissionSetProperty(), MissionSetProperty(), OoliteGetProperty(), OoliteGetProperty(), OoliteSetProperty(), OoliteSetProperty(), PlanetGetProperty(), PlanetGetProperty(), PlanetSetProperty(), PlanetSetProperty(), PlayerGetProperty(), PlayerGetProperty(), PlayerSetProperty(), PlayerSetProperty(), PlayerShipGetProperty(), PlayerShipGetProperty(), PlayerShipSetProperty(), PlayerShipSetProperty(), QuaternionGetProperty(), QuaternionGetProperty(), QuaternionSetProperty(), QuaternionSetProperty(), ShipGetProperty(), ShipGetProperty(), ShipGroupGetProperty(), ShipGroupGetProperty(), ShipGroupSetProperty(), ShipGroupSetProperty(), ShipSetProperty(), ShipSetProperty(), SoundGetProperty(), SoundGetProperty(), SoundSourceGetProperty(), SoundSourceGetProperty(), SoundSourceSetProperty(), SoundSourceSetProperty(), StationGetProperty(), StationGetProperty(), StationSetProperty(), StationSetProperty(), SunGetProperty(), SunGetProperty(), SystemGetProperty(), SystemGetProperty(), SystemInfoGetProperty(), SystemInfoGetProperty(), SystemSetProperty(), SystemSetProperty(), TimerGetProperty(), TimerGetProperty(), TimerSetProperty(), TimerSetProperty(), VectorGetProperty(), VectorGetProperty(), VectorSetProperty(), VectorSetProperty(), VisualEffectGetProperty(), VisualEffectGetProperty(), VisualEffectSetProperty(), VisualEffectSetProperty(), WaypointGetProperty(), WaypointGetProperty(), WaypointSetProperty(), WaypointSetProperty(), WormholeGetProperty(), WormholeGetProperty(), and WormholeSetProperty().
| void OOJSReportBadPropertyValue | ( | JSContext * | context, |
| JSObject * | thisObj, | ||
| jsid | propID, | ||
| JSPropertySpec * | propertySpec, | ||
| jsval | value ) |
Definition at line 1043 of file OOJavaScriptEngine.m.
References OOJSDescribeValue(), OOJSGetClass(), OOJSReportError(), and OOStringFromJSPropertyIDAndSpec().
Referenced by DockSetProperty(), DockSetProperty(), EntitySetProperty(), EntitySetProperty(), EquipmentInfoSetProperty(), EquipmentInfoSetProperty(), ExhaustPlumeSetProperty(), ExhaustPlumeSetProperty(), FlasherSetProperty(), FlasherSetProperty(), ManifestSetProperty(), MissionSetProperty(), MissionSetProperty(), OoliteSetProperty(), OoliteSetProperty(), PlanetSetProperty(), PlanetSetProperty(), PlayerSetProperty(), PlayerSetProperty(), PlayerShipSetProperty(), PlayerShipSetProperty(), QuaternionSetProperty(), QuaternionSetProperty(), ShipGroupSetProperty(), ShipGroupSetProperty(), ShipSetProperty(), ShipSetProperty(), SoundSourceSetProperty(), SoundSourceSetProperty(), StationSetProperty(), StationSetProperty(), SystemSetProperty(), SystemSetProperty(), TimerSetProperty(), TimerSetProperty(), VectorSetProperty(), VectorSetProperty(), VisualEffectSetProperty(), VisualEffectSetProperty(), WaypointSetProperty(), WaypointSetProperty(), and WormholeSetProperty().
| void OOJSReportError | ( | JSContext * | context, |
| NSString * | format, | ||
| ... ) |
Definition at line 930 of file OOJavaScriptEngine.m.
References OOJSReportErrorWithArguments().
Referenced by EntitySetProperty(), EntitySetProperty(), GlobalAddFrameCallback(), GlobalAddFrameCallback(), ManifestSetProperty(), ManifestSetPropertyExotic(), MissionVariablesDefineOwnProperty(), MissionVariablesSetProperty(), OOJSObjectGetterImplPRIVATE(), OOJSObjectGetterImplPRIVATE(), OOJSReportBadPropertySelector(), OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), OOJSReportBadPropertyValue(), OOJSReportErrorForCaller(), OOJSReportWrappedException(), OOJSUnconstructableConstruct(), OOJSUnconstructableConstruct(), OOJSValueToInt32(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetEscapePodDestination(), PlayerShipRemoveAllCargo(), PlayerShipRemoveAllCargo(), PlayerShipResetCustomView(), PlayerShipResetCustomView(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetProperty(), PlayerShipSetProperty(), RemoveOrExplodeShip(), RemoveOrExplodeShip(), SetMissionVariable(), ShipAdjustCargo(), ShipAdjustCargo(), ShipEnterWormhole(), ShipEnterWormhole(), ShipGroupConstruct(), ShipGroupConstruct(), ShipRemove(), ShipRemove(), ShipSetProperty(), ShipSetProperty(), SoundSourceConstruct(), SoundSourceConstruct(), SystemInfoGetProperty(), SystemInfoGetProperty(), TimerConstruct(), and TimerConstruct().
| void OOJSReportErrorForCaller | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| NSString * | format, | ||
| ... ) |
Definition at line 939 of file OOJavaScriptEngine.m.
References CallerPrefix(), nil, and OOJSReportError().
Referenced by OOJSReportBadArguments(), OOJSReportBadArguments(), ShipExitAI(), ShipExitAI(), ShipExitSystem(), ShipExitSystem(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetScript(), ShipSetScript(), ShipSwitchAI(), ShipSwitchAI(), SystemInfoDistanceToSystem(), SystemInfoDistanceToSystem(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), and SystemInfoSamplePrice().
| void OOJSReportErrorWithArguments | ( | JSContext * | context, |
| NSString * | format, | ||
| va_list | args ) |
Definition at line 957 of file OOJavaScriptEngine.m.
References JS_IsInRequest, and nil.
Referenced by OOJSReportError().
| OOINLINE void OOJSReportPendingException | ( | JSContext * | context | ) |
Definition at line 173 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, OOJavaScriptEngine::callJSFunction:forObject:argc:argv:result:, OOJSScript::callMethod:inContext:withArguments:count:result:, OOJSScript::callMethodNamed:withArguments:count:result:, CompileScriptWithName(), OOJSFunction::evaluatePredicateWithContext:scope:arguments:, OOJSFunction::evaluateWithContext:scope:arguments:result:, GetParam(), GetParam(), GetParam(), GetParameter(), GetParameterImageDescriptor(), InitOOJSManifest(), OOJSFunction::initWithName:scope:code:argumentCount:argumentNames:fileName:lineNumber:context:, OOJSScript::initWithPath:, OOJSScript::initWithPath:properties:, JSFunctionPredicate(), JSSpecialFunctionsObjectWrapper(), LoadCompatibilityScript(), OOJSScript(Private)::loadScriptWithContext:, MissionRunScreen(), OOJSFrameCallbacksInvoke(), OOJSInitClass(), OOStringFromDeciCredits(), RewriteLegacyConst(), RunScriptWithName(), ShipEntity(PureAI)::scanForNearestShipMatchingPredicate:, and OORegExpMatcher::string:matchesExpression:flags:.
| void OOJSReportWarning | ( | JSContext * | context, |
| NSString * | format, | ||
| ... ) |
Definition at line 994 of file OOJavaScriptEngine.m.
References OOJSReportWarningWithArguments().
Referenced by OOJSScript(OOPrivate)::checkForTickle:, EntityFromArgumentList(), EntityFromArgumentList(), EquipmentInfoSetProperty(), EquipmentInfoSetProperty(), GetJSSystemInfoForSystem(), GlobalRemoveFrameCallback(), GlobalRemoveFrameCallback(), GlobalSetScreenBackground(), GlobalSetScreenBackground(), GlobalSetScreenOverlay(), GlobalSetScreenOverlay(), ManifestSetProperty(), ManifestSetProperty(), MissionRunScreen(), MissionRunScreen(), MissionRunShipLibrary(), MissionRunShipLibrary(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), OOJSReportWarningForCaller(), OoliteSetProperty(), OoliteSetProperty(), PlanetSetProperty(), PlanetSetProperty(), PlayerShipSetProperty(), PlayerShipSetProperty(), ScriptAddProperty(), ShipFireECM(), ShipFireECM(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipSetShaders(), ShipSetShaders(), SpecialJSWarning(), SpecialJSWarning(), GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:, TimerSetProperty(), TimerSetProperty(), VisualEffectSetMaterialsInternal(), VisualEffectSetMaterialsInternal(), VisualEffectSetShaders(), and VisualEffectSetShaders().
| void OOJSReportWarningForCaller | ( | JSContext * | context, |
| NSString * | scriptClass, | ||
| NSString * | function, | ||
| NSString * | format, | ||
| ... ) |
Definition at line 1003 of file OOJavaScriptEngine.m.
References CallerPrefix(), nil, and OOJSReportWarning().
Referenced by ShipAddCargoEntity(), ShipAddCargoEntity(), ShipDumpCargo(), ShipDumpCargo(), ShipExitAI(), ShipExitAI(), ShipGroupAddShip(), ShipGroupAddShip(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), StationAddShipToShipyard(), StationAddShipToShipyard(), StationRemoveShipFromShipyard(), and StationRemoveShipFromShipyard().
| void OOJSReportWarningWithArguments | ( | JSContext * | context, |
| NSString * | format, | ||
| va_list | args ) |
Definition at line 1021 of file OOJavaScriptEngine.m.
References nil.
Referenced by OOJSReportWarning(), and SyntaxIssue().
| void OOJSResumeTimeLimiter | ( | void | ) |
Definition at line 137 of file OOJSEngineTimeManagement.m.
References OODisposeHighResTime, OOGetHighResTime, OOHighResTimeDeltaInSeconds(), sLimiterPauseDepth, sLimiterPauseStart, and sLimiterTimeLimit.
Referenced by Universe::findEntitiesMatchingPredicate:parameter:inRange:ofEntity:, Universe::findOneEntityMatchingPredicate:parameter:, JSFunctionPredicate(), MissionRunScreen(), MissionRunScreen(), OOJSReportPendingException(), OOJSReportWarningWithArguments(), PlanetSetProperty(), PlanetSetProperty(), ReportJSError(), SoundFromJSValue(), SoundFromJSValue(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoStaticFilteredSystems(), and SystemInfoStaticFilteredSystems().
| void OOJSSetWarningOrErrorStackSkip | ( | unsigned | skip | ) |
Definition at line 1068 of file OOJavaScriptEngine.m.
References sErrorHandlerStackSkip.
Referenced by SpecialJSWarning(), and SpecialJSWarning().
| void OOJSStrLiteralCachePRIVATE | ( | const char * | string, |
| jsval * | strCache, | ||
| BOOL * | inited ) |
Definition at line 1413 of file OOJavaScriptEngine.m.
References EXPECT_NOT, OOJSAcquireContext(), and OOJSRelinquishContext().
| JSBool OOJSUnconstructableConstruct | ( | JSContext * | context, |
| uintN | argc, | ||
| jsval * | vp ) |
Definition at line 1813 of file OOJavaScriptEngine.m.
References OOJS_NATIVE_ENTER, OOJS_NATIVE_EXIT, OOJSReportError(), and OOStringFromJSString().
Referenced by InitOOJSClock(), InitOOJSClock(), InitOOJSDock(), InitOOJSDock(), InitOOJSEntity(), InitOOJSEntity(), InitOOJSEquipmentInfo(), InitOOJSEquipmentInfo(), InitOOJSExhaustPlume(), InitOOJSExhaustPlume(), InitOOJSFlasher(), InitOOJSFlasher(), InitOOJSManifest(), InitOOJSManifest(), InitOOJSMission(), InitOOJSMission(), InitOOJSOolite(), InitOOJSOolite(), InitOOJSPlanet(), InitOOJSPlanet(), InitOOJSPlayer(), InitOOJSPlayer(), InitOOJSPlayerShip(), InitOOJSPlayerShip(), InitOOJSScript(), InitOOJSScript(), InitOOJSShip(), InitOOJSShip(), InitOOJSSound(), InitOOJSSound(), InitOOJSStation(), InitOOJSStation(), InitOOJSSun(), InitOOJSSun(), InitOOJSSystem(), InitOOJSSystem(), InitOOJSSystemInfo(), InitOOJSSystemInfo(), InitOOJSVisualEffect(), InitOOJSVisualEffect(), InitOOJSWaypoint(), InitOOJSWaypoint(), InitOOJSWormhole(), and InitOOJSWormhole().
Definition at line 222 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by ClockGetProperty(), ClockGetProperty(), DockGetProperty(), DockGetProperty(), EntityGetProperty(), EntityGetProperty(), EquipmentInfoGetProperty(), EquipmentInfoGetProperty(), FlasherGetProperty(), FlasherGetProperty(), OOStringFromDeciCredits(), PlanetGetProperty(), PlanetGetProperty(), PlayerGetProperty(), PlayerGetProperty(), PlayerShipGetProperty(), PlayerShipGetProperty(), ShipGetProperty(), ShipGetProperty(), SoundSourceGetProperty(), SoundSourceGetProperty(), StationGetProperty(), StationGetProperty(), SunGetProperty(), SunGetProperty(), SystemGetProperty(), SystemGetProperty(), TimerGetProperty(), TimerGetProperty(), VisualEffectGetProperty(), and VisualEffectGetProperty().
| OOINLINE jsval OOJSValueFromDouble | ( | JSContext * | context, |
| double | value ) |
Definition at line 155 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, ShipEntity::behaviour_scripted_ai:, Universe::carryPlayerOn:inWormhole:, PlayerEntity::cycleNextMultiFunctionDisplay:, PlayerEntity::cyclePreviousMultiFunctionDisplay:, PlayerEntity::enterGalacticWitchspace, PlayerEntity::enterWitchspace, PlayerEntity::enterWormhole:, PlayerEntity::markAsOffender:withReason:, ShipEntity::markAsOffender:withReason:, OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, ShipEntity::noteTakingDamage:from:type:, ShipEntity(Private)::refreshEscortPositions, PlayerEntity::selectNextMultiFunctionDisplay, PlayerEntity::selectPreviousMultiFunctionDisplay, PlayerEntity::setBounty:withReasonAsString:, ShipEntity::setBounty:withReasonAsString:, PlayerEntity::setInfoSystemID:moveChart:, and OOECMBlastEntity::update:.
| OOINLINE jsval OOJSValueFromNativeObject | ( | JSContext * | context, |
| id | object ) |
Definition at line 269 of file OOJavaScriptEngine.h.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, DockEntity::allowsLaunchingOf:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, Universe::carryPlayerOn:inWormhole:, ClockGetProperty(), ClockGetProperty(), PlayerEntity::cycleNextMultiFunctionDisplay:, PlayerEntity::cyclePreviousMultiFunctionDisplay:, OOJSScript::defineProperty:withID:inContext:, StationEntity::dockingInstructionsForShip:, ShipEntity::doScriptEvent:withArgument:, ShipEntity::doScriptEvent:withArgument:andArgument:, PlayerEntity::enterGalacticWitchspace, PlayerEntity::enterWitchspace, PlayerEntity::enterWormhole:, EntityGetProperty(), EntityGetProperty(), EquipmentInfoGetAllEqipment(), EquipmentInfoGetAllEqipment(), EquipmentInfoGetProperty(), EquipmentInfoGetProperty(), ShipEntity::equipmentValidToAdd:whileLoading:inContext:, ExhaustPlumeGetProperty(), ExhaustPlumeGetProperty(), FlasherGetProperty(), FlasherGetProperty(), GetJSSystemInfoForSystem(), OOShipRegistry(OODataLoader)::loadDemoShips, OOJSScript(Private)::loadScriptWithContext:, ManifestGetProperty(), ManifestGetProperty(), MissionGetProperty(), MissionGetProperty(), MissionRunCallback(), MissionRunCallback(), MissionRunScreen(), MissionRunScreen(), MissionVariablesGetProperty(), OOCommodities(OOPrivate)::modifyGood:withScript:atStation:inSystem:localMode:, ShipEntity::noteKilledBy:damageType:, ShipEntity::noteTakingDamage:from:type:, OOJSObjectFromNativeObject(), OoliteGetProperty(), OoliteGetProperty(), PlanetGetProperty(), PlanetGetProperty(), PlayerGetProperty(), PlayerGetProperty(), PlayerShipGetProperty(), PlayerShipGetProperty(), RewriteLegacyConst(), OOJSGuiScreenKeyDefinition::runCallback:, OOJSInterfaceDefinition::runCallback:, RunDeferredOperations(), PlayerEntity::setBounty:withReasonAsString:, ShipEntity::setBounty:withReasonAsString:, OOJSScript::setProperty:withID:inContext:, ShipGetProperty(), ShipGetProperty(), ShipGroupGetProperty(), ShipGroupGetProperty(), Universe::shipsForSaleForSystem:withTL:atTime:, SoundGetProperty(), SoundGetProperty(), SoundSourceGetProperty(), SoundSourceGetProperty(), StationGetProperty(), StationGetProperty(), OORegExpMatcher::string:matchesExpression:flags:, SunGetProperty(), SunGetProperty(), SystemGetProperty(), SystemGetProperty(), SystemInfoStaticFilteredSystems(), SystemInfoStaticFilteredSystems(), OOECMBlastEntity::update:, ValueForMissionVariable(), VisualEffectGetProperty(), VisualEffectGetProperty(), WaypointGetProperty(), WaypointGetProperty(), WormholeGetProperty(), and WormholeGetProperty().
| OOINLINE BOOL OOJSValueIsArray | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 414 of file OOJavaScriptEngine.h.
References OOINLINE.
| OOINLINE BOOL OOJSValueIsFunction | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 401 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by DescribeValue(), GlobalAddFrameCallback(), GlobalAddFrameCallback(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), OOJSTimer::initWithDelay:interval:context:function:this:, OOJSTimer(Private)::initWithDelay:interval:context:function:this:, JSFunctionPredicate(), MissionRunScreen(), MissionRunScreen(), StationSetInterface(), StationSetInterface(), SystemFilteredEntities(), SystemFilteredEntities(), SystemInfoStaticFilteredSystems(), and SystemInfoStaticFilteredSystems().
| OOINLINE BOOL OOJSValueIsUndefined | ( | jsval | value | ) |
Definition at line 151 of file OOJavaScriptEngine.h.
References OOINLINE.
| OOINLINE BOOL OOJSValueToBOOL | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 162 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by StationEntity::acceptDockingClearanceRequestFrom:, DockEntity::allowsLaunchingOf:, DockEntity::canAcceptShipForDocking:, Universe::canInstantiateShip:, StationEntity::dockingInstructionsForShip:, ShipEntity::equipmentValidToAdd:whileLoading:inContext:, JSFunctionPredicate(), LoadCompatibilityScript(), OOShipRegistry(OODataLoader)::loadDemoShips, ShipEquipmentStatus(), and Universe::shipsForSaleForSystem:withTL:atTime:.
| OOINLINE BOOL OOJSValueToInt32 | ( | JSContext * | context, |
| jsval | value, | ||
| int32_t * | outValue ) |
Definition at line 169 of file OOJavaScriptEngine.h.
References OOINLINE.
Referenced by PlayerEntity::adjustPriceByScriptForEqKey:withCurrent:, EquipmentInfoSetProperty(), ManifestSetProperty(), MissionRunScreen(), OoliteSetProperty(), PlayerReplaceShip(), PlayerSetProperty(), PlayerShipAwardContract(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipRemoveContract(), PlayerShipSetProperty(), ShipAdjustCargo(), ShipDumpCargo(), ShipExitSystem(), ShipSetBounty(), ShipSetCargo(), ShipSetProperty(), ShipSpawn(), SoundSourcePlay(), SoundSourceSetProperty(), StationRemoveShipFromShipyard(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetProperty(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemInfoSetPropertyMethod(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemSetProperty(), SystemStaticInfoForSystem(), SystemStaticSystemNameForID(), ValidateContracts(), ValueToInt32NoError(), and VisualEffectSetProperty().
| NSString * OOStringFromJSID | ( | jsid | propID | ) |
Definition at line 906 of file OOJavaScriptEngine.m.
References nil, OOJSAcquireContext(), OOJSRelinquishContext(), and OOStringFromJSString().
Referenced by OOJSScript::callMethod:inContext:withArguments:count:result:, KeyForAtom(), MissionVariablesDefineOwnProperty(), MissionVariablesSetProperty(), and OOJSDictionaryFromStringTable().
| NSString * OOStringFromJSPropertyIDAndSpec | ( | JSContext * | context, |
| jsid | propID, | ||
| JSPropertySpec * | propertySpec ) |
Definition at line 1473 of file OOJavaScriptEngine.m.
References OOStringFromJSString().
Referenced by OOJSReportBadPropertySelector(), OOJSReportBadPropertyValue(), and ShipSetProperty().
| NSString * OOStringFromJSString | ( | JSContext * | context, |
| JSString * | string ) |
Definition at line 1430 of file OOJavaScriptEngine.m.
References EXPECT, EXPECT_NOT, nil, OOJS_PROFILE_ENTER, and OOJS_PROFILE_EXIT.
Referenced by OOJSTimer::descriptionComponents, KeyForPropertyID(), ManifestGetProperty(), ManifestSetProperty(), OOJSDictionaryFromJSObject(), OOJSDictionaryFromStringTable(), OOJSUnconstructableConstruct(), OOStringFromJSID(), OOStringFromJSPropertyIDAndSpec(), OOStringFromJSValueEvenIfNull(), SystemInfoGetProperty(), SystemInfoSetProperty(), and WorldScriptsGetProperty().
| NSString * OOStringFromJSValue | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 1461 of file OOJavaScriptEngine.m.
References EXPECT, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOStringFromJSValueEvenIfNull().
Referenced by DescribeValue(), EquipmentInfoStaticInfoForKey(), EquipmentInfoStaticInfoForKey(), FontMeasureString(), FontMeasureString(), GetParameterString(), GetParameterString(), GlobalAutoAIForRole(), GlobalAutoAIForRole(), GlobalClearExtraGuiScreenKeys(), GlobalClearExtraGuiScreenKeys(), GlobalDisplayNameForCommodity(), GlobalDisplayNameForCommodity(), GlobalExpandDescription(), GlobalExpandDescription(), GlobalExpandMissionText(), GlobalExpandMissionText(), GlobalGetGuiColorSettingForKey(), GlobalGetGuiColorSettingForKey(), GlobalGetScreenBackgroundForKey(), GlobalGetScreenBackgroundForKey(), GlobalKeyBindingDescription(), GlobalKeyBindingDescription(), GlobalLog(), GlobalLog(), GlobalSetExtraGuiScreenKeys(), GlobalSetExtraGuiScreenKeys(), GlobalSetGuiColorSettingForKey(), GlobalSetGuiColorSettingForKey(), GlobalSetScreenBackgroundForKey(), GlobalSetScreenBackgroundForKey(), OOJSTimer::initWithDelay:interval:context:function:this:, OOJSFunction::initWithFunction:context:, JSStringConverter(), JSStringConverter(), JSValueToEquipmentType(), JSValueToEquipmentType(), ManifestComment(), ManifestComment(), ManifestSetComment(), ManifestSetComment(), ManifestSetShortComment(), ManifestSetShortComment(), ManifestShortComment(), ManifestShortComment(), MissionAddMessageText(), MissionAddMessageText(), MissionRunScreen(), MissionRunScreen(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), MissionVariablesSetProperty(), NameForPropertyID(), NameForPropertyID(), OOJSClassNameOfValue(), OOJSNativeObjectFromJSValue(), OOJSNativeObjectFromJSValue(), OOJSObjectGetterImplPRIVATE(), OOJSObjectGetterImplPRIVATE(), OOJSReportPendingException(), OOJSUnconstructableConstruct(), OoliteSetProperty(), OoliteSetProperty(), OOStringFromDeciCredits(), OOStringFromJSID(), PlanetSetProperty(), PlanetSetProperty(), PlayerAddMessageToArrivalReport(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerAudioMessage(), PlayerCommsMessage(), PlayerCommsMessage(), PlayerConsoleMessage(), PlayerConsoleMessage(), PlayerEndScenario(), PlayerEndScenario(), PlayerReplaceShip(), PlayerReplaceShip(), PlayerSetPlayerRole(), PlayerSetPlayerRole(), PlayerSetProperty(), PlayerSetProperty(), PlayerShipAddParcel(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardContract(), PlayerShipHideHUDSelector(), PlayerShipHideHUDSelector(), PlayerShipRemoveContract(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRemovePassenger(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipSetProperty(), PlayerShipShowHUDSelector(), PlayerShipShowHUDSelector(), PlayerShipUseSpecialCargo(), PlayerShipUseSpecialCargo(), RewriteLegacyConst(), ScriptNameForPropertyID(), SetMissionVariable(), ShipAdjustCargo(), ShipAdjustCargo(), ShipCanAwardEquipment(), ShipCanAwardEquipment(), ShipCommsMessage(), ShipCommsMessage(), ShipDumpCargo(), ShipDumpCargo(), ShipEjectItem(), ShipEjectItem(), ShipEjectSpecificItem(), ShipEjectSpecificItem(), ShipExitAI(), ShipExitAI(), ShipGroupConstruct(), ShipGroupConstruct(), ShipHasEquipmentProviding(), ShipHasEquipmentProviding(), ShipHasRole(), ShipHasRole(), ShipReactToAIMessage(), ShipReactToAIMessage(), ShipSendAIMessage(), ShipSendAIMessage(), ShipSetAI(), ShipSetAI(), ShipSetBounty(), ShipSetBounty(), ShipSetCargo(), ShipSetCargo(), ShipSetCargoType(), ShipSetCargoType(), ShipSetEquipmentStatus(), ShipSetEquipmentStatus(), ShipSetProperty(), ShipSetProperty(), ShipSetScript(), ShipSetScript(), ShipSpawn(), ShipSpawn(), ShipStaticKeysForRole(), ShipStaticKeysForRole(), ShipStaticRoleIsInCategory(), ShipStaticRoleIsInCategory(), ShipStaticSetShipDataForKey(), ShipStaticSetShipDataForKey(), ShipStaticShipDataForKey(), ShipStaticShipDataForKey(), ShipSwitchAI(), ShipSwitchAI(), SoundFromJSValue(), SoundFromJSValue(), SoundStaticLoad(), SoundStaticLoad(), SoundStaticPlayMusic(), SoundStaticPlayMusic(), SoundStaticStopMusic(), SoundStaticStopMusic(), SpecialJSWarning(), SpecialJSWarning(), StackOfValue(), StationLaunchShipWithRole(), StationLaunchShipWithRole(), StationSetInterface(), StationSetInterface(), StationSetMarketPrice(), StationSetMarketPrice(), StationSetMarketQuantity(), StationSetMarketQuantity(), StationSetProperty(), StationSetProperty(), OOJSScript(Private)::stringPropertyNamed:inContext:, SystemAddMoon(), SystemAddMoon(), SystemAddPlanet(), SystemAddPlanet(), SystemAddShipsOrGroup(), SystemAddShipsOrGroup(), SystemAddShipsOrGroupToRoute(), SystemAddShipsOrGroupToRoute(), SystemAddVisualEffect(), SystemAddVisualEffect(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithPrimaryRole(), SystemCountShipsWithRole(), SystemCountShipsWithRole(), SystemInfoKeyForAtom(), SystemInfoRouteToSystem(), SystemInfoRouteToSystem(), SystemInfoSamplePrice(), SystemInfoSamplePrice(), SystemInfoSetPropertyMethod(), SystemInfoSetPropertyMethod(), SystemInfoStaticSetInterstellarProperty(), SystemInfoStaticSetInterstellarProperty(), SystemLegacyAddShips(), SystemLegacyAddShips(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddShipsWithinRadius(), SystemLegacyAddSystemShips(), SystemLegacyAddSystemShips(), SystemLegacySpawnShip(), SystemLegacySpawnShip(), SystemLocationFromCode(), SystemLocationFromCode(), SystemSetPopulator(), SystemSetPopulator(), SystemSetProperty(), SystemSetProperty(), SystemSetWaypoint(), SystemSetWaypoint(), SystemShipsWithPrimaryRole(), SystemShipsWithPrimaryRole(), SystemShipsWithRole(), SystemShipsWithRole(), SystemStaticSystemIDForName(), SystemStaticSystemIDForName(), GuiDisplayGen::textureDescriptorFromJSValue:inContext:callerDescription:, VectorFromCoordinateSystem(), VectorFromCoordinateSystem(), VectorToCoordinateSystem(), VectorToCoordinateSystem(), VisualEffectSetProperty(), VisualEffectSetProperty(), WaypointSetProperty(), and WaypointSetProperty().
| NSString * OOStringFromJSValueEvenIfNull | ( | JSContext * | context, |
| jsval | value ) |
Definition at line 1449 of file OOJavaScriptEngine.m.
References JS_IsInRequest, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOStringFromJSString().
Referenced by CallForString(), NSString(OOJavaScriptExtensions)::concatenationOfStringsFromJavaScriptValues:count:separator:inContext:, DescribeValue(), DescribeValue(), GlobalLog(), GlobalLog(), MissionSetInstructionsInternal(), MissionSetInstructionsInternal(), OOJSDictionaryFromStringTable(), OOJSDictionaryFromStringTable(), OOJSReportPendingException(), OOJSValueToInt32(), OOStringFromJSValue(), OOStringFromJSValue(), ShipSetMaterialsInternal(), ShipSetMaterialsInternal(), ShipSetShaders(), ShipSetShaders(), VisualEffectSetMaterialsInternal(), VisualEffectSetMaterialsInternal(), VisualEffectSetShaders(), and VisualEffectSetShaders().
|
extern |
Definition at line 97 of file OOJavaScriptEngine.m.
|
extern |
Definition at line 96 of file OOJavaScriptEngine.m.