April 26, 20187 yr I found public boolean isPvpWorld() in World class , but it seem it is Deprecated. https://osbot.org/api/org/osbot/rs07/api/ui/World.html How to detect current world is pvp world?
April 30, 20187 yr From what I can see, only the Constructor is deprecated, meaning you aren't supposed to create the World instances manually. Have you actually tried, though? Alternatively you can read the activity/world type widgets from the world switcher
June 4, 20187 yr Author On 4/30/2018 at 5:11 PM, FrostBug said: From what I can see, only the Constructor is deprecated, meaning you aren't supposed to create the World instances manually. Have you actually tried, though? Alternatively you can read the activity/world type widgets from the world switcher But you need to use the constructor to create an instance to use its method. MethodProvider doesn't provide World class
Create an account or sign in to comment