Bazaar developer reference

CvDllPreGame::setSlotClaim(PlayerTypes, SlotClaim)

Defined in
CvDllPreGame.cpp, line 950
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setSlotClaim

Hooks

static bool BeforeCvDllPreGame_setSlotClaim(CvDllPreGame* self, PlayerTypes p, SlotClaim c);static void AfterCvDllPreGame_setSlotClaim(CvDllPreGame* self, PlayerTypes p, SlotClaim c);static void ReplaceCvDllPreGame_setSlotClaim(void (*original)(CvDllPreGame*, PlayerTypes, SlotClaim), CvDllPreGame* self, PlayerTypes p, SlotClaim c);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotClaim::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setSlotClaim);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotClaim::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setSlotClaim);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotClaim::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setSlotClaim);

Code

950void CvDllPreGame::setSlotClaim(PlayerTypes p, SlotClaim c)951{952	CvPreGame::setSlotClaim(p, c);953}

Calls