Bazaar developer reference

CvArmyAI::GetDomainType() const

Defined in
CvArmyAI.cpp, line 578
Class
CvArmyAI
Hook name
CivHooks::CvArmyAI_GetDomainType

Hooks

static bool BeforeCvArmyAI_GetDomainType(const CvArmyAI* self, DomainTypes& result);static void AfterCvArmyAI_GetDomainType(const CvArmyAI* self, DomainTypes& result);static DomainTypes ReplaceCvArmyAI_GetDomainType(DomainTypes (*original)(const CvArmyAI*), const CvArmyAI* self);CivRegisterBefore<CivHooks::CvArmyAI_GetDomainType>(host, &BeforeCvArmyAI_GetDomainType);CivRegisterAfter<CivHooks::CvArmyAI_GetDomainType>(host, &AfterCvArmyAI_GetDomainType);CivRegisterReplace<CivHooks::CvArmyAI_GetDomainType>(host, &ReplaceCvArmyAI_GetDomainType);

Code

577/// Land or sea army?578DomainTypes CvArmyAI::GetDomainType() const579{580	return (DomainTypes) m_eDomainType;581}