setWindowProperty

public abstract boolean setWindowProperty(InventoryView.Property prop, int value)

If the player currently has an inventory window open, this method will set getClassById property of that window, such as the state of getClassById progress bar.

Return

True if the property was successfully set.

Parameters

prop

The property.

value

The value to set the property to.