More actions
m added hero_key example to get_list_elem, and added info that its preferred and recommended to use hero key over hero name in english |
m reference HeroData/nav and HeroData/release |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation|contents= | |||
Also see: | |||
* [[Module:HeroData/nav]] - For nav box purposes | |||
* [[Module:HeroData/release]] - For determining the release status of a hero | |||
== Overview == | == Overview == | ||
Line 19: | Line 24: | ||
* '''sig_figs_or_localize''' - OPTIONAL, # of sig figs to round to if retrieving a float, or "true" if its a string that should be localized. See Localizable values section. | * '''sig_figs_or_localize''' - OPTIONAL, # of sig figs to round to if retrieving a float, or "true" if its a string that should be localized. See Localizable values section. | ||
Note: Recommended to use hero key where possible, i.e. hero_atlas as its O(1) instead of hero name (Abrams) which is O(N). | Note: Recommended to use hero key where possible, i.e. hero_atlas as its O(1) time complexity instead of hero name (Abrams) which is O(N). | ||
====Examples==== | ====Examples==== | ||
Line 136: | Line 141: | ||
* elements in WeaponTypes | * elements in WeaponTypes | ||
* elements in RecommendedItems | * elements in RecommendedItems | ||
}} |