Bazaar developer reference

CvDllPreGame::netID(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 455
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_netID

Hooks

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

Code

455int CvDllPreGame::netID(PlayerTypes p)456{457	return CvPreGame::netID(p);458}

Calls