Item attributes.
ItemProtoCore
subclass.
Items are described in detail in
Items and Bundles article.
Returns item attribute value as Bool
.
Parameters:
a
Attribute name.
Returns:
Attribute value. Returns false if the attribute is not found.
inline getDynamic (a:String):Dynamic
Returns item attribute value as Dynamic
.
Parameters:
a
Attribute name.
Returns:
Attribute value. Returns null if the attribute is not found.
Returns item attribute value as Float
.
Parameters:
a
Attribute name.
Returns:
Attribute value. Returns 0 if the attribute is not found.
Returns item attribute value as Int
.
Parameters:
a
Attribute name.
Returns:
Attribute value. Returns 0 if the attribute is not found.