OpenEnroth 4aaa0a0
Loading...
Searching...
No Matches
Functions
MonsterEnumFunctions.h File Reference
#include <span>
#include <string>
#include <utility>
#include "Engine/Data/HouseEnums.h"
#include "Utility/Segment.h"
#include "Utility/IndexedArray.h"
#include "Library/Color/ColorTable.h"
#include "ItemEnums.h"
#include "CharacterEnums.h"
#include "MonsterEnums.h"
#include "SpriteEnums.h"

Functions

Segment< MonsterIdallMonsters ()
 
std::span< const MonsterIdallArenaMonsters ()
 
Segment< MonsterTypeallMonsterTypes ()
 
MonsterType monsterTypeForMonsterId (MonsterId monsterId)
 
Segment< MonsterIdmonsterIdsForMonsterType (MonsterType monsterType)
 
bool isPeasant (MonsterType monsterType)
 
bool isPeasant (MonsterId monsterId)
 
Sex sexForMonsterType (MonsterType monsterType)
 
Race raceForMonsterType (MonsterType monsterType)
 
bool isBountyHuntable (MonsterType monsterType, HouseId townHall)
 
ItemId itemDropForMonsterType (MonsterType monsterType)
 
MonsterTier monsterTierForMonsterId (MonsterId monsterId)
 
MonsterSupertype supertypeForMonsterType (MonsterType monsterType)
 
MonsterSupertype supertypeForMonsterId (MonsterId monsterId)
 
std::span< const MonsterAttackPreferenceallMonsterAttackPreferences ()
 
SpriteId spriteForMonsterProjectile (MonsterProjectile projectile)
 

Function Documentation

◆ allArenaMonsters()

std::span< const MonsterId > allArenaMonsters ( )
Returns
A span of all monsters that can appear in Arena.

◆ allMonsterAttackPreferences()

std::span< const MonsterAttackPreference > allMonsterAttackPreferences ( )

◆ allMonsters()

Segment< MonsterId > allMonsters ( )
inline

◆ allMonsterTypes()

Segment< MonsterType > allMonsterTypes ( )
inline

◆ isBountyHuntable()

bool isBountyHuntable ( MonsterType  monsterType,
HouseId  townHall 
)

◆ isPeasant() [1/2]

bool isPeasant ( MonsterId  monsterId)
inline

◆ isPeasant() [2/2]

bool isPeasant ( MonsterType  monsterType)
inline

◆ itemDropForMonsterType()

ItemId itemDropForMonsterType ( MonsterType  monsterType)

◆ monsterIdsForMonsterType()

Segment< MonsterId > monsterIdsForMonsterType ( MonsterType  monsterType)
inline

◆ monsterTierForMonsterId()

MonsterTier monsterTierForMonsterId ( MonsterId  monsterId)
inline

◆ monsterTypeForMonsterId()

MonsterType monsterTypeForMonsterId ( MonsterId  monsterId)
inline

◆ raceForMonsterType()

Race raceForMonsterType ( MonsterType  monsterType)

◆ sexForMonsterType()

Sex sexForMonsterType ( MonsterType  monsterType)

◆ spriteForMonsterProjectile()

SpriteId spriteForMonsterProjectile ( MonsterProjectile  projectile)

◆ supertypeForMonsterId()

MonsterSupertype supertypeForMonsterId ( MonsterId  monsterId)
inline

◆ supertypeForMonsterType()

MonsterSupertype supertypeForMonsterType ( MonsterType  monsterType)
Original binary offset:
0x00438BDF
Parameters
monsterTypeMonster type to check.
Returns
Supertype for the provided monster type.