Bazaar developer reference

CvDllPreGame::setTurnNotifySteamInvite(PlayerTypes, bool)

Defined in
CvDllPreGame.cpp, line 1137
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setTurnNotifySteamInvite

Hooks

static bool BeforeCvDllPreGame_setTurnNotifySteamInvite(CvDllPreGame* self, PlayerTypes p, bool wantsSteamInvite);static void AfterCvDllPreGame_setTurnNotifySteamInvite(CvDllPreGame* self, PlayerTypes p, bool wantsSteamInvite);static void ReplaceCvDllPreGame_setTurnNotifySteamInvite(void (*original)(CvDllPreGame*, PlayerTypes, bool), CvDllPreGame* self, PlayerTypes p, bool wantsSteamInvite);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifySteamInvite::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setTurnNotifySteamInvite);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifySteamInvite::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setTurnNotifySteamInvite);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setTurnNotifySteamInvite::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setTurnNotifySteamInvite);

Code

1137void CvDllPreGame::setTurnNotifySteamInvite(PlayerTypes p, bool wantsSteamInvite)1138{1139	CvPreGame::setTurnNotifySteamInvite(p, wantsSteamInvite);1140}

Calls