Items¶
- class cassiopeia.Items(*args, **kwargs)[source]¶
Bases:
CassiopeiaLazyList
- append(item)¶
Append object to the end of the list.
- clear()¶
Remove all items from list.
- copy()¶
Return a shallow copy of the list.
- count(object)¶
Return number of occurrences of value.
- extend(iterable)¶
Extend list by appending elements from the iterable.
- filter(function)¶
- classmethod from_data(*args, **kwargs)¶
- included_data¶
A set of tags to return additional information for this item when it’s loaded.
- index(object, start: int = 0, stop: int = 9223372036854775807)¶
Return first index of value.
Raises ValueError if the value is not present.
- locale¶
The locale for this item.
- platform¶
- pop(index: int = - 1)¶
Remove and return item at index (default last).
Raises IndexError if list is empty or index is out of range.
- region¶
- remove(object)¶
Remove first occurrence of value.
Raises ValueError if the value is not present.
- reverse()¶
Reverse IN PLACE.
- search(item: Any, streaming: bool = False, reverse: bool = False) Union[SearchableList, Generator[Any, None, None]] ¶
- sort(*, key=None, reverse=False)¶
Stable sort IN PLACE.
- to_dict()¶
- to_json(**kwargs)¶
- version¶
- class cassiopeia.Item(*args, **kwargs)[source]¶
Bases:
CassiopeiaGhost
Searchable by [‘str’, ‘int’, ‘Region’, ‘Platform’, ‘Map’]
- builds_from¶
- builds_into¶
- champion¶
- consume_on_full¶
- consumed¶
- description¶
- effect¶
- gold¶
- group¶
- hide¶
- id¶
The item’s ID.
- image¶
The image information for this item.
- in_store¶
- included_data¶
A set of tags to return additonal information for this item when it’s loaded.
- keywords¶
- locale¶
The locale for this item.
- maps¶
- max_stacks¶
- name¶
- plaintext¶
- platform¶
The platform for this item.
- region¶
The region for this item.
- sanitized_description¶
- special_recipe¶
- sprite¶
- stats¶
- tags¶
- tier¶
- version¶
The version for this item.
- class cassiopeia.core.staticdata.item.ItemStats(**kwargs)[source]¶
Bases:
CassiopeiaObject
- ability_power¶
- armor¶
- attack_damage¶
- attack_speed¶
- block¶
- critical_strike_chance¶
- critical_strike_damage¶
- dodge¶
- energy¶
- energy_regen¶
- health¶
- health_regen¶
- life_steal¶
- magic_resist¶
- mana¶
- mana_regen¶
- movespeed¶
- percent_ability_power¶
- percent_armor¶
- percent_attack_damage¶
- percent_attack_speed¶
- percent_block¶
- percent_critical_strike_damage¶
- percent_health¶
- percent_health_regen¶
- percent_magic_resist¶
- percent_mana_regen¶
- percent_movespeed¶
- percent_xp_bonus¶
- spell_vamp¶
- xp_bonus¶