@@ -60,7 +60,7 @@ public CacheArchive(CacheIndex dataIndex, CacheIndex metaIndex, int cacheIndexId
60
60
aBoolean1811 = arg5 ;
61
61
this .metaIndex = metaIndex ;
62
62
this .cacheIndexId = cacheIndexId ;
63
- UpdateServer .getArchiveChecksum (this , this .cacheIndexId );
63
+ Game . updateServer .getArchiveChecksum (this , this .cacheIndexId );
64
64
}
65
65
66
66
public static CacheArchive loadArchive (int cacheIndexId , boolean arg1 , boolean arg2 , boolean arg4 ) {
@@ -164,7 +164,7 @@ public int getPercentLoaded() {
164
164
return 100 ;
165
165
if (aByteArrayArray212 != null )
166
166
return 99 ;
167
- int i = UpdateServer .calculateDataLoaded (255 , cacheIndexId );
167
+ int i = Game . updateServer .calculateDataLoaded (255 , cacheIndexId );
168
168
if (i >= 100 )
169
169
i = 99 ;
170
170
return i ;
@@ -176,15 +176,15 @@ public void method198(boolean arg1, byte[] arg2, int arg3, CacheIndex arg4) {
176
176
if (aBoolean1800 )
177
177
throw new RuntimeException ();
178
178
if (arg2 == null ) {
179
- UpdateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 ,
179
+ Game . updateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 ,
180
180
archiveCrcValue );
181
181
return ;
182
182
}
183
183
crc32 .reset ();
184
184
crc32 .update (arg2 , 0 , arg2 .length );
185
185
int i = (int ) crc32 .getValue ();
186
186
if (i != archiveCrcValue ) {
187
- UpdateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 ,
187
+ Game . updateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 ,
188
188
archiveCrcValue );
189
189
return ;
190
190
}
@@ -197,7 +197,7 @@ public void method198(boolean arg1, byte[] arg2, int arg3, CacheIndex arg4) {
197
197
if (arg2 == null || arg2 .length <= 2 ) {
198
198
aBooleanArray1796 [arg3 ] = false ;
199
199
if (aBoolean1811 || arg1 )
200
- UpdateServer .method327 (arg1 , this , cacheIndexId , arg3 , (byte ) 2 , anIntArray252 [arg3 ]);
200
+ Game . updateServer .method327 (arg1 , this , cacheIndexId , arg3 , (byte ) 2 , anIntArray252 [arg3 ]);
201
201
return ;
202
202
}
203
203
crc32 .reset ();
@@ -207,7 +207,7 @@ public void method198(boolean arg1, byte[] arg2, int arg3, CacheIndex arg4) {
207
207
if (i != anIntArray252 [arg3 ] || i_0_ != anIntArray224 [arg3 ]) {
208
208
aBooleanArray1796 [arg3 ] = false ;
209
209
if (aBoolean1811 || arg1 )
210
- UpdateServer .method327 (arg1 , this , cacheIndexId , arg3 , (byte ) 2 , anIntArray252 [arg3 ]);
210
+ Game . updateServer .method327 (arg1 , this , cacheIndexId , arg3 , (byte ) 2 , anIntArray252 [arg3 ]);
211
211
return ;
212
212
}
213
213
aBooleanArray1796 [arg3 ] = true ;
@@ -220,11 +220,11 @@ public void method177(int arg1) {
220
220
if (dataIndex != null && aBooleanArray1796 != null && aBooleanArray1796 [arg1 ])
221
221
method602 (this , arg1 , dataIndex );
222
222
else
223
- UpdateServer .method327 (true , this , cacheIndexId , arg1 , (byte ) 2 , anIntArray252 [arg1 ]);
223
+ Game . updateServer .method327 (true , this , cacheIndexId , arg1 , (byte ) 2 , anIntArray252 [arg1 ]);
224
224
}
225
225
226
226
public void method174 (int arg0 ) {
227
- UpdateServer .method399 (cacheIndexId , arg0 );
227
+ Game . updateServer .method399 (cacheIndexId , arg0 );
228
228
}
229
229
230
230
public void method199 () {
@@ -249,7 +249,7 @@ public void method199() {
249
249
public void requestLatestVersion (int crcValue ) {
250
250
archiveCrcValue = crcValue ;
251
251
if (metaIndex == null )
252
- UpdateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 , archiveCrcValue );
252
+ Game . updateServer .method327 (true , this , 255 , cacheIndexId , (byte ) 0 , archiveCrcValue );
253
253
else
254
254
method602 (this , cacheIndexId , metaIndex );
255
255
}
@@ -259,7 +259,7 @@ public int method201(int arg0) {
259
259
return 100 ;
260
260
if (aBooleanArray1796 [arg0 ])
261
261
return 100 ;
262
- return UpdateServer .calculateDataLoaded (cacheIndexId , arg0 );
262
+ return Game . updateServer .calculateDataLoaded (cacheIndexId , arg0 );
263
263
}
264
264
265
265
public int method202 () {
0 commit comments