Bazaar developer reference

CvPreGame::setTurnNotifySteamInvite(PlayerTypes, bool)

Defined in
CvPreGame.cpp, line 3032
Hook name
CivHooks::CvPreGame_setTurnNotifySteamInvite

Hooks

static bool BeforeCvPreGame_setTurnNotifySteamInvite(PlayerTypes p, bool flag);static void AfterCvPreGame_setTurnNotifySteamInvite(PlayerTypes p, bool flag);static void ReplaceCvPreGame_setTurnNotifySteamInvite(void (*original)(PlayerTypes, bool), PlayerTypes p, bool flag);CivRegisterBefore<CivHooks::CvPreGame_setTurnNotifySteamInvite>(host, &BeforeCvPreGame_setTurnNotifySteamInvite);CivRegisterAfter<CivHooks::CvPreGame_setTurnNotifySteamInvite>(host, &AfterCvPreGame_setTurnNotifySteamInvite);CivRegisterReplace<CivHooks::CvPreGame_setTurnNotifySteamInvite>(host, &ReplaceCvPreGame_setTurnNotifySteamInvite);

Code

3032void setTurnNotifySteamInvite(PlayerTypes p, bool flag)3033{3034	if(p >= 0 && p < MAX_PLAYERS)3035		s_turnNotifySteamInvite.setAt(p, flag);3036}

Calls

Called by