Created
April 9, 2012 00:31
-
-
Save xcvd/2340515 to your computer and use it in GitHub Desktop.
lazy val example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def bankItemWidgets = Widgets.get(762).getChild(95).getChildren() | |
def getBankWidgetChild(id: Int): WidgetChild = { | |
bankItemWidgets.foreach(itemWidget => | |
if (itemWidget.getChildId == itemIdVial) { return itemWidget }) | |
null | |
} | |
val itemIdVial = 229 | |
lazy val itemBankWidgetVial: WidgetChild = getBankWidgetChild(itemIdVial) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment