Bazaar developer reference

CvPlayer::getMinorGoldFriendshipMod() const

Defined in
CvPlayer.cpp, line 16027
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getMinorGoldFriendshipMod

Hooks

static bool BeforeCvPlayer_getMinorGoldFriendshipMod(const CvPlayer* self, int& result);static void AfterCvPlayer_getMinorGoldFriendshipMod(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getMinorGoldFriendshipMod(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getMinorGoldFriendshipMod>(host, &BeforeCvPlayer_getMinorGoldFriendshipMod);CivRegisterAfter<CivHooks::CvPlayer_getMinorGoldFriendshipMod>(host, &AfterCvPlayer_getMinorGoldFriendshipMod);CivRegisterReplace<CivHooks::CvPlayer_getMinorGoldFriendshipMod>(host, &ReplaceCvPlayer_getMinorGoldFriendshipMod);

Code

16027int CvPlayer::getMinorGoldFriendshipMod() const16028{16029	return m_iMinorGoldFriendshipMod;16030}

Calls

Called by