Class WorldUtil


  • public class WorldUtil
    extends java.lang.Object
    Utility class for RuneScape worlds
    • Constructor Summary

      Constructors 
      Constructor Description
      WorldUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.EnumSet<net.runelite.api.WorldType> toWorldTypes​(java.util.EnumSet<net.runelite.http.api.worlds.WorldType> apiTypes)
      Converts http-api world types to runelite-api world types TODO: Find a better way to handle these to not have duplicate interfaces
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WorldUtil

        public WorldUtil()
    • Method Detail

      • toWorldTypes

        public static java.util.EnumSet<net.runelite.api.WorldType> toWorldTypes​(java.util.EnumSet<net.runelite.http.api.worlds.WorldType> apiTypes)
        Converts http-api world types to runelite-api world types TODO: Find a better way to handle these to not have duplicate interfaces
        Parameters:
        apiTypes - http-api world types
        Returns:
        runelite-api world types