-
Notifications
You must be signed in to change notification settings - Fork 1
class_StatItem
Tom edited this page Apr 1, 2018
·
2 revisions
Class for all stat items returned by API
StatItem(json)
-
json(object/dict) - raw json data of item
-
type(string) - -
rarity(Array of StatRarity) -
load(name,json,default)
-
name(string) - Name of index to lookup -
json(object/dict) - json of item -
default(any) - default value to return if key(name) is not found
value (any) - Either the value of json[name] or default if name is not found