|
41 | 41 | * @since v3.3 and later |
42 | 42 | * @see standardIdentifier |
43 | 43 | */ |
44 | | -@property (nonatomic, copy, readonly) NSString *name; |
| 44 | +@property (nonatomic, copy, readwrite) NSString *name; |
45 | 45 |
|
46 | 46 | /** |
47 | 47 | * Resolution of the package, e.g. tablethd, phonehd, etc. |
48 | 48 | * @since v3.3 and later |
49 | 49 | * @see standardIdentifier |
50 | 50 | */ |
51 | | -@property (nonatomic, copy, readonly) NSString *resolution; |
| 51 | +@property (nonatomic, copy, readwrite) NSString *resolution; |
52 | 52 |
|
53 | 53 | /** |
54 | 54 | * OS of the package e.g. iOS, Mac |
55 | 55 | * @since v3.3 and later |
56 | 56 | * @see standardIdentifier |
57 | 57 | */ |
58 | | -@property (nonatomic, copy, readonly) NSString *os; |
| 58 | +@property (nonatomic, copy, readwrite) NSString *os; |
59 | 59 |
|
60 | 60 | /** |
61 | 61 | * Returns an identifier of the package: The pattern is `<NAME>-<OS>-<RESOLUTION>`. Example: `DLC_Bundle-iOS-phonehd`. |
|
72 | 72 | * The remote URL of the package |
73 | 73 | * @since v3.3 and later |
74 | 74 | */ |
75 | | -@property (nonatomic, copy, readonly) NSURL *remoteURL; |
| 75 | +@property (nonatomic, copy, readwrite) NSURL *remoteURL; |
76 | 76 |
|
77 | 77 | /** |
78 | 78 | * The relative local URL where the package is installed. The URL is relative to the caches folder. |
79 | 79 | * This value will be initially nil and set only if installation was successful. |
80 | 80 | * @since v3.3 and later |
81 | 81 | * @see installFullURL |
82 | 82 | */ |
83 | | -@property (nonatomic, copy, readonly) NSURL *installRelURL; |
| 83 | +@property (nonatomic, copy, readwrite) NSURL *installRelURL; |
84 | 84 |
|
85 | 85 | /** |
86 | 86 | * Full local URL where the package is installed. |
|
95 | 95 | * is used which won't be accessible. |
96 | 96 | * @since v3.3 and later |
97 | 97 | */ |
98 | | -@property (nonatomic, copy, readonly) NSURL *localDownloadURL; |
| 98 | +@property (nonatomic, copy, readwrite) NSURL *localDownloadURL; |
99 | 99 |
|
100 | 100 | /** |
101 | 101 | * Local URL of the folder the package is unzipped to |
102 | 102 | * @since v3.3 and later |
103 | 103 | */ |
104 | | -@property (nonatomic, copy, readonly) NSURL *unzipURL; |
| 104 | +@property (nonatomic, copy, readwrite) NSURL *unzipURL; |
105 | 105 |
|
106 | 106 | /** |
107 | 107 | * Name of the folder inside the unzip folder. A zipped package is supposed to contain a folder named |
|
110 | 110 | * during installation. |
111 | 111 | * @since v3.3 and later |
112 | 112 | */ |
113 | | -@property (nonatomic, copy, readonly) NSString *folderName; |
| 113 | +@property (nonatomic, copy, readwrite) NSString *folderName; |
114 | 114 |
|
115 | 115 | /** @name Accessing Package Status */ |
116 | 116 |
|
117 | 117 | /** |
118 | 118 | * Whether or not the the package should be enabled in cocos2d after installation. |
119 | 119 | * @since v3.3 and later |
120 | 120 | */ |
121 | | -@property (nonatomic, readonly) BOOL enableOnDownload; |
| 121 | +@property (nonatomic, readwrite) BOOL enableOnDownload; |
122 | 122 |
|
123 | 123 | /** |
124 | 124 | * The current status of the package |
125 | 125 | * @since v3.3 and later |
126 | 126 | * @see statusToString |
127 | 127 | */ |
128 | | -@property (nonatomic, readonly) CCPackageStatus status; |
| 128 | +@property (nonatomic, readwrite) CCPackageStatus status; |
129 | 129 |
|
130 | 130 | /** |
131 | 131 | * Returns the status as a string. |
|
0 commit comments