Bazaar developer reference

CvDllPreGame::readActiveSlotCountFromSaveGame(FDataStream &, bool)

Defined in
CvDllPreGame.cpp, line 1077
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_readActiveSlotCountFromSaveGame

Hooks

static bool BeforeCvDllPreGame_readActiveSlotCountFromSaveGame(CvDllPreGame* self, FDataStream& loadFrom, bool bReadVersion, int& result);static void AfterCvDllPreGame_readActiveSlotCountFromSaveGame(CvDllPreGame* self, FDataStream& loadFrom, bool bReadVersion, int& result);static int ReplaceCvDllPreGame_readActiveSlotCountFromSaveGame(int (*original)(CvDllPreGame*, FDataStream&, bool), CvDllPreGame* self, FDataStream& loadFrom, bool bReadVersion);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_readActiveSlotCountFromSaveGame::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_readActiveSlotCountFromSaveGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_readActiveSlotCountFromSaveGame::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_readActiveSlotCountFromSaveGame);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_readActiveSlotCountFromSaveGame::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_readActiveSlotCountFromSaveGame);

Code

1077int CvDllPreGame::readActiveSlotCountFromSaveGame(FDataStream& loadFrom, bool bReadVersion)1078{1079	return CvPreGame::readActiveSlotCountFromSaveGame(loadFrom, bReadVersion);1080}

Calls