Bazaar developer reference

CvDllNetMessageHandler::ResponseAdvancedStartAction(PlayerTypes, AdvancedStartActionTypes, int, int, int, bool)

Defined in
CvDllNetMessageHandler.cpp, line 56
Class
CvDllNetMessageHandler
Hook name
CivHooks::CvDllNetMessageHandler_ResponseAdvancedStartAction

Hooks

static bool BeforeCvDllNetMessageHandler_ResponseAdvancedStartAction(CvDllNetMessageHandler* self, PlayerTypes ePlayer, AdvancedStartActionTypes eAction, int iX, int iY, int iData, bool bAdd);static void AfterCvDllNetMessageHandler_ResponseAdvancedStartAction(CvDllNetMessageHandler* self, PlayerTypes ePlayer, AdvancedStartActionTypes eAction, int iX, int iY, int iData, bool bAdd);static void ReplaceCvDllNetMessageHandler_ResponseAdvancedStartAction(void (*original)(CvDllNetMessageHandler*, PlayerTypes, AdvancedStartActionTypes, int, int, int, bool), CvDllNetMessageHandler* self, PlayerTypes ePlayer, AdvancedStartActionTypes eAction, int iX, int iY, int iData, bool bAdd);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAdvancedStartAction::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseAdvancedStartAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAdvancedStartAction::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseAdvancedStartAction);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseAdvancedStartAction::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseAdvancedStartAction);

Code

56void CvDllNetMessageHandler::ResponseAdvancedStartAction(PlayerTypes ePlayer, AdvancedStartActionTypes eAction, int iX, int iY, int iData, bool bAdd)57{58	GET_PLAYER(ePlayer).doAdvancedStartAction(eAction, iX, iY, iData, bAdd);59}

Calls