Oolite 1.91.0.7644-241112-7f5034b
|
#include <OOCharacter.h>
Instance Methods | |
(id) | - initWithRole:andOriginalSystem: |
(NSString *) | - planetOfOrigin |
(OOSystemID) | - planetIDOfOrigin |
(NSString *) | - species |
(void) | - basicSetUp |
(BOOL) | - castInRole: |
(NSString *) | - name |
(void) | - setName: |
(NSString *) | - shortDescription |
(void) | - setShortDescription: |
(int) | - legalStatus |
(void) | - setLegalStatus: |
(OOCreditsQuantity) | - insuranceCredits |
(void) | - setInsuranceCredits: |
(NSArray *) | - legacyScript |
(void) | - setLegacyScript: |
(OOJSScript *) | - script |
(void) | - setCharacterScript: |
(void) | - doScriptEvent: |
(NSDictionary *) | - infoForScripting |
(NSString *) | - descriptionComponents [implementation] |
(NSString *) | - oo_jsClassName [implementation] |
(void) | - dealloc [implementation] |
(id) | - initWithGenSeed:andOriginalSystem: [implementation] |
(Random_Seed) | - genSeed [implementation] |
(void) | - setOriginSystem: [implementation] |
(void) | - setGenSeed: [implementation] |
(void) | - setCharacterFromDictionary: [implementation] |
Class Methods | |
(OOCharacter *) | + characterWithRole:andOriginalSystem: |
(OOCharacter *) | + randomCharacterWithRole:andOriginalSystem: |
(OOCharacter *) | + characterWithDictionary: |
Private Attributes | |
NSString * | _name |
NSString * | _shortDescription |
OOSystemID | _originSystem |
Random_Seed | _genSeed |
int | _legalStatus |
OOCreditsQuantity | _insuranceCredits |
NSArray * | _scriptActions |
OOJSScript * | _script |
Definition at line 35 of file OOCharacter.h.
- (void) basicSetUp |
Definition at line 1 of file OOCharacter.m.
- (BOOL) castInRole: | (NSString *) | role |
Definition at line 1 of file OOCharacter.m.
+ (OOCharacter *) characterWithDictionary: | (NSDictionary *) | c_dict |
Definition at line 1 of file OOCharacter.m.
Referenced by ShipSetCrew().
+ (OOCharacter *) characterWithRole: | (NSString *) | c_role | |
andOriginalSystem: | (OOSystemID) | s |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Definition at line 1 of file OOCharacter.m.
- (void) doScriptEvent: | (jsid) | message |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Provided by category OOCharacter(Private).
Definition at line 1 of file OOCharacter.m.
- (NSDictionary *) infoForScripting |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Provided by category OOCharacter(Private).
Definition at line 1 of file OOCharacter.m.
- (id) initWithRole: | (NSString *) | role | |
andOriginalSystem: | (OOSystemID) | s |
Definition at line 1 of file OOCharacter.m.
- (OOCreditsQuantity) insuranceCredits |
Definition at line 1 of file OOCharacter.m.
- (NSArray *) legacyScript |
Definition at line 1 of file OOCharacter.m.
- (int) legalStatus |
Definition at line 1 of file OOCharacter.m.
- (NSString *) name |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Definition at line 1 of file OOCharacter.m.
- (OOSystemID) planetIDOfOrigin |
Definition at line 1 of file OOCharacter.m.
- (NSString *) planetOfOrigin |
Definition at line 1 of file OOCharacter.m.
+ (OOCharacter *) randomCharacterWithRole: | (NSString *) | c_role | |
andOriginalSystem: | (OOSystemID) | s |
Definition at line 1 of file OOCharacter.m.
- (OOJSScript *) script |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Provided by category OOCharacter(Private).
Definition at line 1 of file OOCharacter.m.
- (void) setCharacterScript: | (NSString *) | scriptName |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Definition at line 1 of file OOCharacter.m.
- (void) setInsuranceCredits: | (OOCreditsQuantity) | value |
Definition at line 1 of file OOCharacter.m.
- (void) setLegacyScript: | (NSArray *) | scriptActions |
Definition at line 1 of file OOCharacter.m.
- (void) setLegalStatus: | (int) | value |
Definition at line 1 of file OOCharacter.m.
- (void) setName: | (NSString *) | value |
Definition at line 1 of file OOCharacter.m.
|
implementation |
Provided by category OOCharacter(Private).
Definition at line 1 of file OOCharacter.m.
- (void) setShortDescription: | (NSString *) | value |
Definition at line 1 of file OOCharacter.m.
- (NSString *) shortDescription |
Definition at line 1 of file OOCharacter.m.
- (NSString *) species |
Definition at line 1 of file OOCharacter.m.
|
private |
Definition at line 41 of file OOCharacter.h.
|
private |
Definition at line 43 of file OOCharacter.h.
|
private |
Definition at line 42 of file OOCharacter.h.
|
private |
Definition at line 38 of file OOCharacter.h.
|
private |
Definition at line 40 of file OOCharacter.h.
|
private |
Definition at line 45 of file OOCharacter.h.
|
private |
Definition at line 44 of file OOCharacter.h.
|
private |
Definition at line 39 of file OOCharacter.h.