Dear community,
We have decided that we would give you a preview of the OSBot 2 API by providing the java documentation to you. This should give you an idea of how the OSBot 2 API is structured. Note that the API is not finished and unfinished features are not included in this preview.
You can find the preview here: http://www.osbot.org/osbot2_api_preview/
As is OSBot 1, the root of the scripts is the MethodProvider which is located in the org.osbot.script package.
Have fun reading it,
OSBot.org
You could just create a generic method.
public <T> T filter(final T[] types, final Filter<T> filter) {
for(final T type : types) {
if(filter.accept(type)) {
return type;
}
}
return null;
}
You should know by seeing this that the enums LoginStage and LoginState are declared in the Client class. Their respective fields are as well. So I'm not really sure what you said.
I suggest you start looking in the MethodProvider, which is the base for your script, the API and events.
So hey guys,its my first PK video,i know its not really good,because i not good at editing videos,so yea if you like it please subscribe me,like this video and follow me on twitch channel Thanks for reading.SOOOON HD
Video link:http://www.youtube.com/watch?v=z0BKrab2Aic
Twitch:http://www.twitch.tv/runescapegamings
*wereAnd I don't see why that even matters at all as I wasn't clearly banned for scamming or anything related to that.
So next time you decide to spam, get your facts right.