Bazaar developer reference

CvPromotionEntry::GetCommandType() const

Defined in
CvPromotionClasses.cpp, line 1264
Class
CvPromotionEntry
Hook name
CivHooks::CvPromotionEntry_GetCommandType

Hooks

static bool BeforeCvPromotionEntry_GetCommandType(const CvPromotionEntry* self, int& result);static void AfterCvPromotionEntry_GetCommandType(const CvPromotionEntry* self, int& result);static int ReplaceCvPromotionEntry_GetCommandType(int (*original)(const CvPromotionEntry*), const CvPromotionEntry* self);CivRegisterBefore<CivHooks::CvPromotionEntry_GetCommandType>(host, &BeforeCvPromotionEntry_GetCommandType);CivRegisterAfter<CivHooks::CvPromotionEntry_GetCommandType>(host, &AfterCvPromotionEntry_GetCommandType);CivRegisterReplace<CivHooks::CvPromotionEntry_GetCommandType>(host, &ReplaceCvPromotionEntry_GetCommandType);

Code

1263/// Accessor: Returns the command type for this HotKeyInfo class (which would be COMMAND_PROMOTION)1264int CvPromotionEntry::GetCommandType() const1265{1266	return m_iCommandType;1267}

Called by