Added initial version

This commit is contained in:
Ceikry 2021-03-07 20:37:32 -06:00
commit b1dccb3fed
14153 changed files with 1285206 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package org.runite.client;
final class CacheResourceRequest extends ResourceRequest {
Class41 cache;
byte[] data;
int type;
final byte[] getData() {
if (this.waiting) {
throw new RuntimeException("Attempted to get data while request was not completed yet");
}
return this.data;
}
final int getCompletion() {
return this.waiting ? 0 : 100;
}
}