Definition at line 117 of file OOJSSystemInfo.m.
◆ allKeys
Definition at line 122 of file OOJSSystemInfo.m.
233{
235 {
236 return [[UNIVERSE currentSystemData] allKeys];
237 }
238 return [UNIVERSE systemDataKeysForGalaxy:_galaxy planet:_system];
239}
Referenced by SystemInfoEnumerate().
◆ coordinates
◆ dealloc
Definition at line 122 of file OOJSSystemInfo.m.
170{
171 [_planetKey release];
172
173 [super dealloc];
174}
◆ descriptionComponents
- (NSString *) descriptionComponents |
|
|
|
|
implementation |
Definition at line 122 of file OOJSSystemInfo.m.
178{
179 return [NSString stringWithFormat:@"galaxy %u, system %i", _galaxy, _system];
180}
◆ galaxy
◆ hash
◆ init
◆ initWithGalaxy:system:
Definition at line 122 of file OOJSSystemInfo.m.
152{
154 {
155 [self release];
157 }
158
159 if ((
self = [super
init]))
160 {
163 _planetKey = [[NSString stringWithFormat:@"%u %i", galaxy, system] retain];
164 }
165 return self;
166}
◆ isEqual:
- (BOOL) isEqual: |
|
(id) | other |
|
|
implementation |
Definition at line 122 of file OOJSSystemInfo.m.
195 :(id)other
196{
197 return other == self ||
201
202}
◆ oo_jsClassName
- (NSString *) oo_jsClassName |
|
|
|
|
implementation |
◆ oo_jsValueInContext:
- (jsval) oo_jsValueInContext: |
|
(JSContext *) | context |
|
|
implementation |
Definition at line 122 of file OOJSSystemInfo.m.
271 :(JSContext *)context
272{
273 JSObject *jsSelf = NULL;
274 jsval result = JSVAL_NULL;
275
277 if (jsSelf != NULL)
278 {
279 if (!JS_SetPrivate(context, jsSelf, [self retain])) jsSelf = NULL;
280 }
281 if (jsSelf != NULL) result = OBJECT_TO_JSVAL(jsSelf);
282
283 return result;
284}
static JSObject * sSystemInfoPrototype
static JSClass sSystemInfoClass
◆ setValue:forKey:
- (void) setValue: |
|
(id) | value |
forKey: |
|
(NSString *) | key |
Definition at line 122 of file OOJSSystemInfo.m.
224 :(id)value forKey:(NSString *)key
225{
227
228 [UNIVERSE setSystemDataForGalaxy:_galaxy planet:_system key:key value:value fromManifest:manifest forLayer:OO_LAYER_OXP_DYNAMIC];
229}
id propertyNamed:(NSString *name)
OOJSScript * currentlyRunningScript()
Referenced by SystemInfoSetProperty().
◆ shortDescriptionComponents
- (NSString *) shortDescriptionComponents |
|
|
|
|
implementation |
◆ system
◆ valueForKey:
- (id) valueForKey: |
|
(NSString *) | key |
|
◆ _galaxy
◆ _planetKey
◆ _system
The documentation for this class was generated from the following file: