Constants
The library provides some constants for certain types of strings, as well as orders for troops, spells and achievements that are used internally.
All Elixir Troops
ordered as they appear in-game.
- coc.ELIXIR_TROOP_ORDER
All Dark Elixir Troops
ordered as they appear in-game.
- coc.DARK_ELIXIR_TROOP_ORDER
All Home Village Troops
ordered as they appear in-game. This is a combination of elixir and dark elixir troops.
- coc.HV_TROOP_ORDER
All Siege Machines
ordered as they appear in-game.
- coc.SIEGE_MACHINE_ORDER
All Super Troops
ordered as they appear in-game.
- coc.SUPER_TROOP_ORDER
All Home Troops
ordered as they appear in-game.
This is a combination of elixir, dark elixir and siege machine troops. This does not contain super troops.
- coc.HOME_TROOP_ORDER
All Seasonal Troops
ordered as they appear in-game.
- coc.SEASONAL_TROOP_ORDER
All Builder Troops
ordered as they appear in-game.
- coc.BUILDER_TROOPS_ORDER
All Elixir Spells
ordered as they appear in-game.
- coc.ELIXIR_SPELL_ORDER
All Dark Elixir Spells
ordered as they appear in-game.
- coc.DARK_ELIXIR_SPELL_ORDER
All Seasonal Spells
ordered as they appear in-game.
- coc.SEASONAL_SPELL_ORDER
All Spells
ordered as they appear in-game.
- coc.SPELL_ORDER
All Home Base Heroes
ordered as they appear in-game.
- coc.HOME_BASE_HERO_ORDER
All Builder Base Heroes
ordered as they appear in-game.
- coc.BUILDER_BASE_HERO_ORDER
All Heroes
ordered as they appear in-game.
- coc.HERO_ORDER
All Pets
ordered as they appear in-game.
- coc.PETS_ORDER
All Equipment
ordered as they appear in-game.
- coc.EQUIPMENT
All Home Village Buildings
ordered as they appear in-game.
- coc.HV_BUILDINGS
All Achievements
ordered as they appear in-game.
- coc.ACHIEVEMENT_ORDER