|
OpenEnroth 20c20dc
|
#include "MonsterEnumFunctions.h"#include <cassert>#include <string>#include <utility>#include <vector>#include "Utility/IndexedArray.h"Classes | |
| struct | MonsterData |
| struct | BountyHuntableMask |
Functions | |
| std::span< const MonsterId > | allArenaMonsters () |
| Sex | sexForMonsterType (MonsterType monsterType) |
| Race | raceForMonsterType (MonsterType monsterType) |
| bool | isBountyHuntable (MonsterType monsterType, HouseId townHall) |
| ItemId | itemDropForMonsterType (MonsterType monsterType) |
| MonsterSupertype | supertypeForMonsterType (MonsterType monsterType) |
| std::span< const MonsterAttackPreference > | allMonsterAttackPreferences () |
| SpriteId | spriteForMonsterProjectile (MonsterProjectile projectile) |
Variables | |
| static constexpr IndexedArray< MonsterData, MONSTER_TYPE_FIRST, MONSTER_TYPE_LAST > | dataByMonsterType |
| static const std::vector< MonsterId > | arenaMonsters |
| static constexpr IndexedArray< BountyHuntableMask, MONSTER_TYPE_FIRST, MONSTER_TYPE_LAST > | bountyHuntableMaskByMonsterType |
| std::span< const MonsterId > allArenaMonsters | ( | ) |
| std::span< const MonsterAttackPreference > allMonsterAttackPreferences | ( | ) |
| bool isBountyHuntable | ( | MonsterType | monsterType, |
| HouseId | townHall | ||
| ) |
| ItemId itemDropForMonsterType | ( | MonsterType | monsterType | ) |
| Race raceForMonsterType | ( | MonsterType | monsterType | ) |
| Sex sexForMonsterType | ( | MonsterType | monsterType | ) |
| SpriteId spriteForMonsterProjectile | ( | MonsterProjectile | projectile | ) |
| projectile | Monster projectile to get a sprite id for. |
| MonsterSupertype supertypeForMonsterType | ( | MonsterType | monsterType | ) |
| monsterType | Monster type to check. |
|
static |
|
staticconstexpr |
Table of monster types that can be targeted in bounty hunts in each of the game's town halls.
This is autogenerated code. It was, however, generated from code that was subsequently deleted, and then the data here was edited. Feel free to edit.
|
staticconstexpr |