Bazaar developer reference

CvDllPreGame::setNetID(PlayerTypes, int)

Defined in
CvDllPreGame.cpp, line 865
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setNetID

Hooks

static bool BeforeCvDllPreGame_setNetID(CvDllPreGame* self, PlayerTypes p, int id);static void AfterCvDllPreGame_setNetID(CvDllPreGame* self, PlayerTypes p, int id);static void ReplaceCvDllPreGame_setNetID(void (*original)(CvDllPreGame*, PlayerTypes, int), CvDllPreGame* self, PlayerTypes p, int id);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setNetID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setNetID);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNetID::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setNetID);

Code

865void CvDllPreGame::setNetID(PlayerTypes p, int id)866{867	CvPreGame::setNetID(p, id);868}

Calls