Oolite 1.91.0.7645-241119-222d325
|
import <Foundation/Foundation.h>
#include <jsapi.h>
Go to the source code of this file.
Functions | |
void | InitOOJSPlayer (JSContext *context, JSObject *global) |
JSClass * | JSPlayerClass (void) |
JSObject * | JSPlayerPrototype (void) |
JSObject * | JSPlayerObject (void) |
PlayerEntity * | OOPlayerForScripting (void) |
void InitOOJSPlayer | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 163 of file OOJSPlayer.m.
References OOJS_PROP_READONLY, OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sPlayerClass, sPlayerMethods, sPlayerObject, sPlayerProperties, and sPlayerPrototype.
JSClass * JSPlayerClass | ( | void | ) |
Definition at line 173 of file OOJSPlayer.m.
References sPlayerClass.
JSObject * JSPlayerObject | ( | void | ) |
Definition at line 185 of file OOJSPlayer.m.
References sPlayerObject.
Referenced by InitOOJSPlayerShip().
JSObject * JSPlayerPrototype | ( | void | ) |
Definition at line 179 of file OOJSPlayer.m.
References sPlayerPrototype.
PlayerEntity * OOPlayerForScripting | ( | void | ) |
Definition at line 191 of file OOJSPlayer.m.
References PLAYER, and PlayerEntity::setScriptTarget:.
Referenced by ClockGetProperty(), EquipmentInfoGetProperty(), GlobalClearExtraGuiScreenKeys(), GlobalGetProperty(), GlobalKeyBindingDescription(), GlobalSetExtraGuiScreenKeys(), JSClockToString(), ManifestGetProperty(), ManifestSetProperty(), MissionAddMessageText(), MissionGetProperty(), MissionMarkSystem(), MissionRunCallback(), MissionRunScreen(), MissionRunShipLibrary(), MissionSetInstructionsInternal(), MissionSetProperty(), MissionUnmarkSystem(), MissionVariablesDeleteProperty(), MissionVariablesGetProperty(), MissionVariablesSetProperty(), PlayerAddMessageToArrivalReport(), PlayerAudioMessage(), PlayerGetProperty(), PlayerReplaceShip(), PlayerSetEscapePodDestination(), PlayerSetPlayerRole(), PlayerSetProperty(), PlayerShipAddParcel(), PlayerShipAddPassenger(), PlayerShipAwardContract(), PlayerShipAwardEquipmentToCurrentPylon(), PlayerShipBeginGalacticHyperspaceCountdown(), PlayerShipBeginHyperspaceCountdown(), PlayerShipCancelDockingRequest(), PlayerShipCancelHyperspaceCountdown(), PlayerShipEngageAutopilotToStation(), PlayerShipGetProperty(), PlayerShipHideHUDSelector(), PlayerShipRemoveAllCargo(), PlayerShipRemoveContract(), PlayerShipRemoveParcel(), PlayerShipRemovePassenger(), PlayerShipRequestDockingClearance(), PlayerShipResetCustomView(), PlayerShipResetScannerZoom(), PlayerShipSetCustomHUDDial(), PlayerShipSetCustomView(), PlayerShipSetMultiFunctionDisplay(), PlayerShipSetMultiFunctionText(), PlayerShipSetPrimedEquipment(), PlayerShipSetProperty(), PlayerShipShowHUDSelector(), PlayerShipTakeInternalDamage(), PlayerShipUseSpecialCargo(), ShipRunLegacyScriptActions(), StationDockPlayer(), SystemAddMoon(), SystemAddPlanet(), SystemGetProperty(), SystemLegacyAddShipsAt(), SystemLegacyAddShipsAtPrecisely(), SystemLegacyAddShipsWithinRadius(), SystemLegacySpawnShip(), SystemSendAllShipsAway(), SystemSetProperty(), SystemToString(), and WorldScriptsGetProperty().