Bazaar developer reference

CvPlayer::GetMinorFriendshipDecayMod() const

Defined in
CvPlayer.cpp, line 16072
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetMinorFriendshipDecayMod

Hooks

static bool BeforeCvPlayer_GetMinorFriendshipDecayMod(const CvPlayer* self, int& result);static void AfterCvPlayer_GetMinorFriendshipDecayMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_GetMinorFriendshipDecayMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetMinorFriendshipDecayMod>(host, &BeforeCvPlayer_GetMinorFriendshipDecayMod);CivRegisterAfter<CivHooks::CvPlayer_GetMinorFriendshipDecayMod>(host, &AfterCvPlayer_GetMinorFriendshipDecayMod);CivRegisterReplace<CivHooks::CvPlayer_GetMinorFriendshipDecayMod>(host, &ReplaceCvPlayer_GetMinorFriendshipDecayMod);

Code

16072int CvPlayer::GetMinorFriendshipDecayMod() const16073{16074	return m_iMinorFriendshipDecayMod;16075}

Calls

Called by