Class RPCImageServer
java.lang.Object
com.hypherionmc.simplerpc.util.rpcavatar.RPCImageServer
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetCachedImage(String filename) Get the image has of a local file, to be used with the RPC Image Server APIvoidScan images folder for images, and check if they need to be uploaded to the image servervoidprocessLauncherIcon(File icon)
-
Field Details
-
INSTANCE
-
-
Method Details
-
processImages
public void processImages()Scan images folder for images, and check if they need to be uploaded to the image server -
processLauncherIcon
-
getHash
Get the image has of a local file, to be used with the RPC Image Server API- Parameters:
fileName- The name of the file to retrieve the hash for- Returns:
- The image has, or the original file name if the hash is missing
-
getCachedImage
-