Oolite 1.91.0.7644-241112-7f5034b
|
Go to the source code of this file.
Functions | |
void | InitOOJSEquipmentInfo (JSContext *context, JSObject *global) |
OOEquipmentType * | JSValueToEquipmentType (JSContext *context, jsval value) |
NSString * | JSValueToEquipmentKey (JSContext *context, jsval value) |
NSString * | JSValueToEquipmentKeyRelaxed (JSContext *context, jsval value, BOOL *outExists) |
void InitOOJSEquipmentInfo | ( | JSContext * | context, |
JSObject * | global ) |
Definition at line 175 of file OOJSEquipmentInfo.m.
References OOJSBasicPrivateObjectConverter(), OOJSRegisterObjectConverter(), OOJSUnconstructableConstruct(), sEquipmentInfoClass, sEquipmentInfoMethods, sEquipmentInfoProperties, sEquipmentInfoPrototype, sEquipmentInfoStaticMethods, and sEquipmentInfoStaticProperties.
NSString * JSValueToEquipmentKey | ( | JSContext * | context, |
jsval | value ) |
Definition at line 204 of file OOJSEquipmentInfo.m.
Referenced by PlayerShipAwardEquipmentToCurrentPylon(), ShipEquipmentStatus(), and ShipRemoveEquipment().
NSString * JSValueToEquipmentKeyRelaxed | ( | JSContext * | context, |
jsval | value, | ||
BOOL * | outExists ) |
Definition at line 210 of file OOJSEquipmentInfo.m.
References nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, and OOJSNativeObjectFromJSValue().
Referenced by PlayerShipSetProperty(), ShipCanAwardEquipment(), and ShipSetProperty().
OOEquipmentType * JSValueToEquipmentType | ( | JSContext * | context, |
jsval | value ) |
Definition at line 183 of file OOJSEquipmentInfo.m.
References OOEquipmentType::equipmentTypeWithIdentifier:, nil, OOJS_PROFILE_ENTER, OOJS_PROFILE_EXIT, OOStringFromJSValue(), and sEquipmentInfoClass.
Referenced by ShipAwardEquipment(), and ShipSetEquipmentStatus().