Bazaar developer reference

CvPreGame::isTurnNotifySteamInvite(PlayerTypes)

Defined in
CvPreGame.cpp, line 1280
Hook name
CivHooks::CvPreGame_isTurnNotifySteamInvite

Hooks

static bool BeforeCvPreGame_isTurnNotifySteamInvite(PlayerTypes p, bool& result);static void AfterCvPreGame_isTurnNotifySteamInvite(PlayerTypes p, bool& result);static bool ReplaceCvPreGame_isTurnNotifySteamInvite(bool (*original)(PlayerTypes), PlayerTypes p);CivRegisterBefore<CivHooks::CvPreGame_isTurnNotifySteamInvite>(host, &BeforeCvPreGame_isTurnNotifySteamInvite);CivRegisterAfter<CivHooks::CvPreGame_isTurnNotifySteamInvite>(host, &AfterCvPreGame_isTurnNotifySteamInvite);CivRegisterReplace<CivHooks::CvPreGame_isTurnNotifySteamInvite>(host, &ReplaceCvPreGame_isTurnNotifySteamInvite);

Code

1280bool isTurnNotifySteamInvite(PlayerTypes p)1281{1282	if(p >= 0 && p < MAX_PLAYERS)1283		return s_turnNotifySteamInvite[p];1284	return false;1285}

Calls

Called by