The search keyword must be a single word (no spaces).
Function CheckItemcodeStatus
- Line
- 3277
- Location
- blizzard.j
- Constant?
- no
- Type
- function
- Arguments
- integer itemId, integer status
- Returns
- boolean
| 3277 | function CheckItemcodeStatus takes integer itemId, integer status returns boolean |
| 3278 | if (status == bj_ITEMCODE_STATUS_POWERUP) then |
| 3279 | return IsItemIdPowerup(itemId) |
| 3280 | elseif (status == bj_ITEMCODE_STATUS_SELLABLE) then |
| 3281 | return IsItemIdSellable(itemId) |
| 3282 | elseif (status == bj_ITEMCODE_STATUS_PAWNABLE) then |
| 3283 | return IsItemIdPawnable(itemId) |
| 3284 | else
|
| 3285 | // Unrecognized status - return false
|
| 3286 | return false |
| 3287 | endif
|
| 3288 | endfunction
|