Oolite 1.91.0.7645-241119-222d325
|
#include <OOCommodityMarket.h>
Instance Methods | |
(NSUInteger) | - count |
(void) | - setGood:withInfo: |
(NSArray *) | - goods |
(NSDictionary *) | - dictionaryForScripting |
(BOOL) | - setPrice:forGood: |
(BOOL) | - setQuantity:forGood: |
(BOOL) | - addQuantity:forGood: |
(BOOL) | - removeQuantity:forGood: |
(void) | - removeAllGoods |
(BOOL) | - setComment:forGood: |
(BOOL) | - setShortComment:forGood: |
(NSString *) | - nameForGood: |
(NSString *) | - commentForGood: |
(NSString *) | - shortCommentForGood: |
(OOCreditsQuantity) | - priceForGood: |
(OOCargoQuantity) | - quantityForGood: |
(OOMassUnit) | - massUnitForGood: |
(NSUInteger) | - exportLegalityForGood: |
(NSUInteger) | - importLegalityForGood: |
(OOCargoQuantity) | - capacityForGood: |
(float) | - trumbleOpinionForGood: |
(NSDictionary *) | - definitionForGood: |
(NSArray *) | - savePlayerAmounts |
(void) | - loadPlayerAmounts: |
(NSArray *) | - saveStationAmounts |
(void) | - loadStationAmounts: |
(id) | - init [implementation] |
(void) | - dealloc [implementation] |
Private Attributes | |
NSMutableDictionary * | _commodityList |
NSArray * | _sortedKeys |
Definition at line 31 of file OOCommodityMarket.h.
- (BOOL) addQuantity: | (OOCargoQuantity) | quantity | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (OOCargoQuantity) capacityForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSString *) commentForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSUInteger) count |
Definition at line 408 of file OOCommodityMarket.m.
|
implementation |
Definition at line 408 of file OOCommodityMarket.m.
- (NSDictionary *) definitionForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSDictionary *) dictionaryForScripting |
Definition at line 408 of file OOCommodityMarket.m.
- (NSUInteger) exportLegalityForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSArray *) goods |
Definition at line 408 of file OOCommodityMarket.m.
- (NSUInteger) importLegalityForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
|
implementation |
Definition at line 408 of file OOCommodityMarket.m.
- (void) loadPlayerAmounts: | (NSArray *) | amounts |
Definition at line 408 of file OOCommodityMarket.m.
- (void) loadStationAmounts: | (NSArray *) | amounts |
Definition at line 408 of file OOCommodityMarket.m.
- (OOMassUnit) massUnitForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
Referenced by PlayerEntity::activateCloakingDevice.
- (NSString *) nameForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
Referenced by marketSorterByName().
- (OOCreditsQuantity) priceForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
Referenced by marketSorterByPrice().
- (OOCargoQuantity) quantityForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
Referenced by marketSorterByQuantity().
- (void) removeAllGoods |
Definition at line 408 of file OOCommodityMarket.m.
- (BOOL) removeQuantity: | (OOCargoQuantity) | quantity | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSArray *) savePlayerAmounts |
Definition at line 408 of file OOCommodityMarket.m.
- (NSArray *) saveStationAmounts |
Definition at line 408 of file OOCommodityMarket.m.
- (BOOL) setComment: | (NSString *) | comment | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (void) setGood: | (OOCommodityType) | key | |
withInfo: | (NSDictionary *) | info |
Definition at line 408 of file OOCommodityMarket.m.
- (BOOL) setPrice: | (OOCreditsQuantity) | price | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (BOOL) setQuantity: | (OOCargoQuantity) | quantity | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (BOOL) setShortComment: | (NSString *) | comment | |
forGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (NSString *) shortCommentForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
- (float) trumbleOpinionForGood: | (OOCommodityType) | good |
Definition at line 408 of file OOCommodityMarket.m.
|
private |
Definition at line 34 of file OOCommodityMarket.h.
|
private |
Definition at line 35 of file OOCommodityMarket.h.