CvUnit::getDropRange() const
- Defined in
- CvUnit.cpp, line 22111
- Class
- CvUnit
- Hook name
CivHooks::CvUnit_getDropRange
Hooks
static bool BeforeCvUnit_getDropRange(const CvUnit* self, int& result);static void AfterCvUnit_getDropRange(const CvUnit* self, int& result);static int ReplaceCvUnit_getDropRange(int (*original)(const CvUnit*), const CvUnit* self);CivRegisterBefore<CivHooks::CvUnit_getDropRange>(host, &BeforeCvUnit_getDropRange);CivRegisterAfter<CivHooks::CvUnit_getDropRange>(host, &AfterCvUnit_getDropRange);CivRegisterReplace<CivHooks::CvUnit_getDropRange>(host, &ReplaceCvUnit_getDropRange);
Code
22111int CvUnit::getDropRange() const22112{22113 VALIDATE_OBJECT22114 return m_iDropRange;22115}
Calls
FAutoVariable::operator const int &