Oolite 1.91.0.7645-241119-222d325
|
#include <OOScript.h>
Instance Methods | |
(NSString *) | - name |
(NSString *) | - scriptDescription |
(NSString *) | - version |
(NSString *) | - displayName |
(BOOL) | - requiresTickle |
(void) | - runWithTarget: |
(NSString *) | - descriptionComponents [implementation] |
(BOOL) | - callMethod:inContext:withArguments:count:result: |
Class Methods | |
(NSArray *) | + worldScriptsAtPath: |
(NSArray *) | + scriptsFromFileNamed: |
(NSArray *) | + scriptsFromList: |
(NSArray *) | + scriptsFromFileAtPath: |
(id) | + jsScriptFromFileNamed:properties: |
(id) | + jsAIScriptFromFileNamed:properties: |
Definition at line 41 of file OOScript.h.
- (BOOL) callMethod: | (jsid) | methodID | |
inContext: | (JSContext *) | context | |
withArguments: | (jsval *) | argv | |
count: | (intN) | argc | |
result: | (jsval *) | outResult |
Reimplemented in OOJSScript.
Provided by category OOScript(JavaScriptEvents).
Definition at line 55 of file OOJSScript.m.
|
implementation |
Reimplemented in OOJSScript.
Definition at line 40 of file OOScript.m.
References kOOLogLoadScriptJavaScript, kOOLogLoadScriptNone, kOOLogLoadScriptOK, kOOLogLoadScriptParseError, kOOLogLoadScriptPList, nil, OOArrayFromFile(), OOEnforceStandards(), OOLog, OOLogERR, OOLogIndentIf, OOLogOutdentIf, OOStandardsDeprecated(), scriptsFromList:, OOPListScript::scriptsInPListFile:, and OOJSScript::scriptWithPath:properties:.
- (NSString *) displayName |
Definition at line 40 of file OOScript.m.
+ (id) jsAIScriptFromFileNamed: | (NSString *) | fileName | |
properties: | (NSDictionary *) | properties |
Definition at line 40 of file OOScript.m.
+ (id) jsScriptFromFileNamed: | (NSString *) | fileName | |
properties: | (NSDictionary *) | properties |
Definition at line 40 of file OOScript.m.
- (NSString *) name |
- (BOOL) requiresTickle |
- (void) runWithTarget: | (Entity *) | target |
Reimplemented in OOJSScript, and OOPListScript.
Definition at line 40 of file OOScript.m.
- (NSString *) scriptDescription |
+ (NSArray *) scriptsFromFileAtPath: | (NSString *) | filePath |
Definition at line 40 of file OOScript.m.
+ (NSArray *) scriptsFromFileNamed: | (NSString *) | fileName |
Definition at line 40 of file OOScript.m.
+ (NSArray *) scriptsFromList: | (NSArray *) | fileNames |
Definition at line 40 of file OOScript.m.
Referenced by descriptionComponents.
- (NSString *) version |
+ (NSArray *) worldScriptsAtPath: | (NSString *) | path |
Definition at line 40 of file OOScript.m.