Bazaar developer reference

CvDllPreGame::slotClaim(PlayerTypes)

Defined in
CvDllPreGame.cpp, line 1020
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_slotClaim

Hooks

static bool BeforeCvDllPreGame_slotClaim(CvDllPreGame* self, PlayerTypes p, SlotClaim& result);static void AfterCvDllPreGame_slotClaim(CvDllPreGame* self, PlayerTypes p, SlotClaim& result);static SlotClaim ReplaceCvDllPreGame_slotClaim(SlotClaim (*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_slotClaim::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_slotClaim);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_slotClaim::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_slotClaim);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_slotClaim::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_slotClaim);

Code

1020SlotClaim CvDllPreGame::slotClaim(PlayerTypes p)1021{1022	return CvPreGame::slotClaim(p);1023}

Calls