OpenEnroth 73e68f7
Loading...
Searching...
No Matches
Functions
MonsterEnumFunctions.h File Reference
#include <span>
#include <utility>
#include "Engine/Data/HouseEnums.h"
#include "Utility/Segment.h"
#include "ItemEnums.h"
#include "CharacterEnums.h"
#include "MonsterEnums.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)
 
CharacterSex 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 ()
 

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()

CharacterSex sexForMonsterType ( MonsterType  monsterType)

◆ 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.