Examples of PrecacheTuple


Examples of org.getspout.spout.precache.PrecacheTuple

    count = pluginMap.size();
    plugins = new PrecacheTuple[count];
    int i = 0;
    for (Entry entry : pluginMap.entrySet()) {
      Plugin p = (Plugin) entry.getKey();
      plugins[i] = new PrecacheTuple(
          p.getDescription().getName(),
          p.getDescription().getVersion(),
          (Long) entry.getValue()
      );
      i++;
View Full Code Here

Examples of org.getspout.spout.precache.PrecacheTuple

      plugins = new PrecacheTuple[count];
      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

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

Examples of org.spoutcraft.client.precache.PrecacheTuple

      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
Copyright © 2018 www.massapi.com. 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.