Bazaar developer reference

CvDllPreGame::worldSize()

Defined in
CvDllPreGame.cpp, line 1055
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_worldSize

Hooks

static bool BeforeCvDllPreGame_worldSize(CvDllPreGame* self, WorldSizeTypes& result);static void AfterCvDllPreGame_worldSize(CvDllPreGame* self, WorldSizeTypes& result);static WorldSizeTypes ReplaceCvDllPreGame_worldSize(WorldSizeTypes (*original)(CvDllPreGame*), CvDllPreGame* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_worldSize::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_worldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_worldSize::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_worldSize);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_worldSize::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_worldSize);

Code

1055WorldSizeTypes CvDllPreGame::worldSize()1056{1057	return CvPreGame::worldSize();1058}

Calls