Kshabazz\BattleNet\D3\Item

class Item

Class Item

<code> <?php // http://us.battle.net/api/d3/data/item/Cj0I-bvTgAsSBwgEFdosyssdb2mxyh10HmzAHfKS3AgdcIt38CILCAEVbEIDABgWICAwiQI4_AJAAFAMYJUDGMvMrsMGUABYAg&extra=0&showClose=1 ?> </code>

property offHandTypes
property oneHandWeaponTypes
property twoHandedWeaponTypes
__construct($pJson)

Constructor

Parameters:
  • $pJson (string) –
__get($pName)

Get any property that isset.

Parameters:
  • $pName
Returns:

mixed

__toString()

What to do when this object is converting to a string.

Returns:string
damage()

Compute [min, max] damage for the tool-tip.

Damage the item can do, if weapon.

Returns:mixed
effects()

Get list string of item special effects.

Returns:string
flavorText()

Get flavor text.

Returns:string|null
id()

Get item ID.

Returns:mixed
init()

Initialize all the properties for this object.

isWeapon()

Check if an items type is a weapon.

Returns:bool
json()

Get JSON use to initialize this object.

Returns:string
name()

Get name.

Returns:string
recipe()

Get recipe for constructing the item at the forge.

Returns:object
tooltipParams()

Get web HASH.

Returns:string
type()

Get the item type.

Returns:string