Bazaar developer reference

CvGame::GetDealDuration()

Defined in
CvGame.cpp, line 11330
Class
CvGame
Hook name
CivHooks::CvGame_GetDealDuration

Hooks

static bool BeforeCvGame_GetDealDuration(CvGame* self, int& result);static void AfterCvGame_GetDealDuration(CvGame* self, int& result);static int ReplaceCvGame_GetDealDuration(int (*original)(CvGame*), CvGame* self);CivRegisterBefore<CivHooks::CvGame_GetDealDuration>(host, &BeforeCvGame_GetDealDuration);CivRegisterAfter<CivHooks::CvGame_GetDealDuration>(host, &AfterCvGame_GetDealDuration);CivRegisterReplace<CivHooks::CvGame_GetDealDuration>(host, &ReplaceCvGame_GetDealDuration);

Code

11329/// How long are deals in this game (based on game speed)11330int CvGame::GetDealDuration()11331{11332	return getGameSpeedInfo().GetDealDuration();11333}

Calls

Called by