Bazaar developer reference

CvGameLeagues::GetDiplomaticVictor() const

Defined in
CvVotingClasses.cpp, line 7158
Class
CvGameLeagues
Hook name
CivHooks::CvGameLeagues_GetDiplomaticVictor

Hooks

static bool BeforeCvGameLeagues_GetDiplomaticVictor(const CvGameLeagues* self, PlayerTypes& result);static void AfterCvGameLeagues_GetDiplomaticVictor(const CvGameLeagues* self, PlayerTypes& result);static PlayerTypes ReplaceCvGameLeagues_GetDiplomaticVictor(PlayerTypes (*original)(const CvGameLeagues*), const CvGameLeagues* self);CivRegisterBefore<CivHooks::CvGameLeagues_GetDiplomaticVictor>(host, &BeforeCvGameLeagues_GetDiplomaticVictor);CivRegisterAfter<CivHooks::CvGameLeagues_GetDiplomaticVictor>(host, &AfterCvGameLeagues_GetDiplomaticVictor);CivRegisterReplace<CivHooks::CvGameLeagues_GetDiplomaticVictor>(host, &ReplaceCvGameLeagues_GetDiplomaticVictor);

Code

7158PlayerTypes CvGameLeagues::GetDiplomaticVictor() const7159{7160	return m_eDiplomaticVictor;7161}

Called by