Bazaar developer reference

CvPlayer::getTotalLand() const

Defined in
CvPlayer.cpp, line 10287
Class
CvPlayer
Hook name
CivHooks::CvPlayer_getTotalLand

Hooks

static bool BeforeCvPlayer_getTotalLand(const CvPlayer* self, int& result);static void AfterCvPlayer_getTotalLand(const CvPlayer* self, int& result);static int ReplaceCvPlayer_getTotalLand(int (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_getTotalLand>(host, &BeforeCvPlayer_getTotalLand);CivRegisterAfter<CivHooks::CvPlayer_getTotalLand>(host, &AfterCvPlayer_getTotalLand);CivRegisterReplace<CivHooks::CvPlayer_getTotalLand>(host, &ReplaceCvPlayer_getTotalLand);

Code

10287int CvPlayer::getTotalLand() const10288{10289	return m_iTotalLand;10290}

Calls

Called by