Bazaar developer reference

CvPlayer::GetCityConnections() const

Defined in
CvPlayer.cpp, line 24573
Class
CvPlayer
Hook name
CivHooks::CvPlayer_GetCityConnections

Hooks

static bool BeforeCvPlayer_GetCityConnections(const CvPlayer* self, CvCityConnections*& result);static void AfterCvPlayer_GetCityConnections(const CvPlayer* self, CvCityConnections*& result);static CvCityConnections* ReplaceCvPlayer_GetCityConnections(CvCityConnections* (*original)(const CvPlayer*), const CvPlayer* self);CivRegisterBefore<CivHooks::CvPlayer_GetCityConnections>(host, &BeforeCvPlayer_GetCityConnections);CivRegisterAfter<CivHooks::CvPlayer_GetCityConnections>(host, &AfterCvPlayer_GetCityConnections);CivRegisterReplace<CivHooks::CvPlayer_GetCityConnections>(host, &ReplaceCvPlayer_GetCityConnections);

Code

24572/// Get the city connection that gives you information about the route connections between cities24573CvCityConnections* CvPlayer::GetCityConnections() const24574{24575	return m_pCityConnections;24576}

Called by