Bazaar developer reference

CvGameLeagues::GenerateResolutionUniqueID()

Defined in
CvVotingClasses.cpp, line 7127
Class
CvGameLeagues
Hook name
CivHooks::CvGameLeagues_GenerateResolutionUniqueID

Hooks

static bool BeforeCvGameLeagues_GenerateResolutionUniqueID(CvGameLeagues* self, int& result);static void AfterCvGameLeagues_GenerateResolutionUniqueID(CvGameLeagues* self, int& result);static int ReplaceCvGameLeagues_GenerateResolutionUniqueID(int (*original)(CvGameLeagues*), CvGameLeagues* self);CivRegisterBefore<CivHooks::CvGameLeagues_GenerateResolutionUniqueID>(host, &BeforeCvGameLeagues_GenerateResolutionUniqueID);CivRegisterAfter<CivHooks::CvGameLeagues_GenerateResolutionUniqueID>(host, &AfterCvGameLeagues_GenerateResolutionUniqueID);CivRegisterReplace<CivHooks::CvGameLeagues_GenerateResolutionUniqueID>(host, &ReplaceCvGameLeagues_GenerateResolutionUniqueID);

Code

7127int CvGameLeagues::GenerateResolutionUniqueID()7128{7129	return ++m_iGeneratedIDCount;7130}

Called by