Bazaar developer reference

CvPlayer::ChangeMinorFriendshipAnchorMod(int)

Defined in
CvPlayer.cpp, line 16065
Class
CvPlayer
Hook name
CivHooks::CvPlayer_ChangeMinorFriendshipAnchorMod

Hooks

static bool BeforeCvPlayer_ChangeMinorFriendshipAnchorMod(CvPlayer* self, int iChange);static void AfterCvPlayer_ChangeMinorFriendshipAnchorMod(CvPlayer* self, int iChange);static void ReplaceCvPlayer_ChangeMinorFriendshipAnchorMod(void (*original)(CvPlayer*, int), CvPlayer* self, int iChange);CivRegisterBefore<CivHooks::CvPlayer_ChangeMinorFriendshipAnchorMod>(host, &BeforeCvPlayer_ChangeMinorFriendshipAnchorMod);CivRegisterAfter<CivHooks::CvPlayer_ChangeMinorFriendshipAnchorMod>(host, &AfterCvPlayer_ChangeMinorFriendshipAnchorMod);CivRegisterReplace<CivHooks::CvPlayer_ChangeMinorFriendshipAnchorMod>(host, &ReplaceCvPlayer_ChangeMinorFriendshipAnchorMod);

Code

16065void CvPlayer::ChangeMinorFriendshipAnchorMod(int iChange)16066{16067	SetMinorFriendshipAnchorMod(GetMinorFriendshipAnchorMod() + iChange);16068}

Calls

Called by