Bazaar developer reference

CvDllPreGame::setSlotStatus(PlayerTypes, SlotStatus)

Defined in
CvDllPreGame.cpp, line 955
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setSlotStatus

Hooks

static bool BeforeCvDllPreGame_setSlotStatus(CvDllPreGame* self, PlayerTypes eID, SlotStatus eSlotStatus);static void AfterCvDllPreGame_setSlotStatus(CvDllPreGame* self, PlayerTypes eID, SlotStatus eSlotStatus);static void ReplaceCvDllPreGame_setSlotStatus(void (*original)(CvDllPreGame*, PlayerTypes, SlotStatus), CvDllPreGame* self, PlayerTypes eID, SlotStatus eSlotStatus);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotStatus::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setSlotStatus);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotStatus::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setSlotStatus);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setSlotStatus::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setSlotStatus);

Code

955void CvDllPreGame::setSlotStatus(PlayerTypes eID, SlotStatus eSlotStatus)956{957	CvPreGame::setSlotStatus(eID, eSlotStatus);958}

Calls