Bazaar developer reference

CvDllNetMessageHandler::ResponseMinorCivBullyGold(PlayerTypes, PlayerTypes, int)

Defined in
CvDllNetMessageHandler.cpp, line 614
Class
CvDllNetMessageHandler
Hook name
CivHooks::CvDllNetMessageHandler_ResponseMinorCivBullyGold

Hooks

static bool BeforeCvDllNetMessageHandler_ResponseMinorCivBullyGold(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);static void AfterCvDllNetMessageHandler_ResponseMinorCivBullyGold(CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);static void ReplaceCvDllNetMessageHandler_ResponseMinorCivBullyGold(void (*original)(CvDllNetMessageHandler*, PlayerTypes, PlayerTypes, int), CvDllNetMessageHandler* self, PlayerTypes ePlayer, PlayerTypes eMinor, int iGold);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBullyGold::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllNetMessageHandler_ResponseMinorCivBullyGold);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBullyGold::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllNetMessageHandler_ResponseMinorCivBullyGold);host->RegisterHook(host->pluginIndex, CivHooks::CvDllNetMessageHandler_ResponseMinorCivBullyGold::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllNetMessageHandler_ResponseMinorCivBullyGold);

Code

614void CvDllNetMessageHandler::ResponseMinorCivBullyGold(PlayerTypes ePlayer, PlayerTypes eMinor, int iGold)615{616	GET_PLAYER(eMinor).GetMinorCivAI()->DoMajorBullyGold(ePlayer, iGold);617}

Calls