Package org.spoutcraft.client.precache

Examples of org.spoutcraft.client.precache.PrecacheTuple


    if (count > 0) {
      for (int i = 0; i<count; i++) {
        String plugin = input.readString();
        String version = input.readString();
        long crc = input.readLong();
        plugins[i] = new PrecacheTuple(plugin, version, crc);
      }
    }
  }
View Full Code Here


      FileUtils.writeByteArrayToFile(zip, fileData);
    } catch (IOException e) {
      e.printStackTrace();
    }

    PrecacheTuple plugin = PrecacheManager.getPrecacheTuple(this.plugin, version);
    if (plugin != null) {
      PrecacheManager.setCached(plugin);
    }
    PrecacheManager.doNextCache();
  }
View Full Code Here

TOP

Related Classes of org.spoutcraft.client.precache.PrecacheTuple

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.