Bazaar developer reference

CvPreGame::CustomOption::GetValue() const

Defined in
CvPreGame.cpp, line 145
Class
CvPreGame::CustomOption
Hook name
CivHooks::CvPreGame_CustomOption_GetValue

Hooks

static bool BeforeCvPreGame_CustomOption_GetValue(const CvPreGame::CustomOption* self, int& result);static void AfterCvPreGame_CustomOption_GetValue(const CvPreGame::CustomOption* self, int& result);static int ReplaceCvPreGame_CustomOption_GetValue(int (*original)(const CvPreGame::CustomOption*), const CvPreGame::CustomOption* self);CivRegisterBefore<CivHooks::CvPreGame_CustomOption_GetValue>(host, &BeforeCvPreGame_CustomOption_GetValue);CivRegisterAfter<CivHooks::CvPreGame_CustomOption_GetValue>(host, &AfterCvPreGame_CustomOption_GetValue);CivRegisterReplace<CivHooks::CvPreGame_CustomOption_GetValue>(host, &ReplaceCvPreGame_CustomOption_GetValue);

Code

145int CustomOption::GetValue() const146{147	return m_iValue;148}

Called by