|
@@ -18,15 +18,15 @@
|
|
|
|
|
|
|
|
|
@interface IJInventoryItem : NSObject <NSCoding> {
|
|
|
- uint16_t itemId;
|
|
|
- uint16_t damage;
|
|
|
- uint8_t count;
|
|
|
- uint8_t slot;
|
|
|
+ int16_t itemId;
|
|
|
+ int16_t damage;
|
|
|
+ int8_t count;
|
|
|
+ int8_t slot;
|
|
|
}
|
|
|
-@property (nonatomic, assign) uint16_t itemId;
|
|
|
-@property (nonatomic, assign) uint16_t damage;
|
|
|
-@property (nonatomic, assign) uint8_t count;
|
|
|
-@property (nonatomic, assign) uint8_t slot;
|
|
|
+@property (nonatomic, assign) int16_t itemId;
|
|
|
+@property (nonatomic, assign) int16_t damage;
|
|
|
+@property (nonatomic, assign) int8_t count;
|
|
|
+@property (nonatomic, assign) int8_t slot;
|
|
|
|
|
|
@property (nonatomic, readonly) NSString *itemName;
|
|
|
@property (nonatomic, readonly) NSImage *image;
|