Packagecom.kongregate
Classpublic class Item
InheritanceItem Inheritance Object

This class holds information about an in-game item.



Public Properties
 PropertyDefined By
  description : String
[read-only] The description of the item
Item
  id : Number
[read-only] The unique identifier for the item
Item
  identifier : String
[read-only] The developer-defined string identifier for the item
Item
  name : String
[read-only] The name of the item
Item
  price : uint
[read-only] The USD cost of the item in cents
Item
Property Detail
descriptionproperty
description:String  [read-only]

The description of the item


Implementation
    public function get description():String
idproperty 
id:Number  [read-only]

The unique identifier for the item


Implementation
    public function get id():Number
identifierproperty 
identifier:String  [read-only]

The developer-defined string identifier for the item


Implementation
    public function get identifier():String
nameproperty 
name:String  [read-only]

The name of the item


Implementation
    public function get name():String
priceproperty 
price:uint  [read-only]

The USD cost of the item in cents


Implementation
    public function get price():uint