메소드 | 설명 | |
---|---|---|
Item ( string name, int id, int data, bool damageable = false ) |
Initialize a new instance of Item.
|
public Item ( string name, int id, int data, bool damageable = false ) | ||
name | string | Name of the item. |
id | int | ID of the item. |
data | int | Data/Damage value of the item, defaults to zero (0). |
damageable | bool | Wether the item degrades whilst it is being used, defaults to false. |