Bazaar developer reference

CvUnit::GetGreatWork() const

Defined in
CvUnit.cpp, line 20119
Class
CvUnit
Hook name
CivHooks::CvUnit_GetGreatWork

Hooks

static bool BeforeCvUnit_GetGreatWork(const CvUnit* self, GreatWorkType& result);static void AfterCvUnit_GetGreatWork(const CvUnit* self, GreatWorkType& result);static GreatWorkType ReplaceCvUnit_GetGreatWork(GreatWorkType (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_GetGreatWork>(host, &BeforeCvUnit_GetGreatWork);CivRegisterAfter<CivHooks::CvUnit_GetGreatWork>(host, &AfterCvUnit_GetGreatWork);CivRegisterReplace<CivHooks::CvUnit_GetGreatWork>(host, &ReplaceCvUnit_GetGreatWork);

Code

20119GreatWorkType CvUnit::GetGreatWork() const20120{20121	return m_eGreatWork;20122}

Called by