LbtItem¶
LbtItem¶
Creates and initializes an LbtItem object.
public LbtItem(int slot, boolean isUsed);
Parameter Name |
In/Out |
Type |
Description |
slot |
In |
int |
Index |
isUsed |
In |
boolean |
true: Use |
Sample Code:
LbtItem lbtItem = new LbtItem(1, true);
getSlot¶
Gets the index.
public int getSlot();
Parameter Name |
In/Out |
Type |
Description |
Return Value |
Out |
int |
Index |
Sample Code:
int slot = lbtItem.getSlot();
isUsed¶
Gets whether to use or not.
public boolean isUsed();
Parameter Name |
In/Out |
Type |
Description |
Return Value |
Out |
boolean |
true: Use |
Sample Code:
boolean isUse = lbtItem.isUsed();