Cyber Syndicate
<center><p style='font-size:120%;'><strong>Welcome to Cyber Syndicate!<strong></p>

You are visiting as a guest; please <strong>register</strong> or <strong>log in</strong>.

Being logged in provides many benefits, including access to the useful <strong>Methods forum</strong>, posting permissions, and voting permissions.

<strong>Enjoy.</strong></center>
Cyber Syndicate
<center><p style='font-size:120%;'><strong>Welcome to Cyber Syndicate!<strong></p>

You are visiting as a guest; please <strong>register</strong> or <strong>log in</strong>.

Being logged in provides many benefits, including access to the useful <strong>Methods forum</strong>, posting permissions, and voting permissions.

<strong>Enjoy.</strong></center>
Cyber Syndicate
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
HomeLatest imagesRegisterLog in

 

 isNoted(Item i)

Go down 
AuthorMessage
b0xb0x
Administrator
Administrator



Posts : 130
Join date : 2011-02-25
Age : 28
Location : California

isNoted(Item i) Empty
PostSubject: isNoted(Item i)   isNoted(Item i) Icon_minitimeWed Mar 16, 2011 11:36 am

A method to get if an item is noted or not.

NOTE: this will return true if the item is not on the GE even if it is not noted.

Code:
   private boolean isNoted(Item i) {
      try {
         return GrandExchange.getItemName(i.getId()).equals("") ? true : false;
      } catch (Exception e) {
         e.printStackTrace();
      }
      return false;
   }

Enjoy.
Back to top Go down
https://cybersyndicate.forumotion.com
 
isNoted(Item i)
Back to top 
Page 1 of 1
 Similar topics
-
» getFoodID() | Returns the int of any edible item in your inventory!

Permissions in this forum:You cannot reply to topics in this forum
Cyber Syndicate :: Development :: Methods-
Jump to: