Bazaar developer reference

CvDllPreGame::setNickname(PlayerTypes, const CvString &)

Defined in
CvDllPreGame.cpp, line 870
Class
CvDllPreGame
Hook name
CivHooks::CvDllPreGame_setNickname

Hooks

static bool BeforeCvDllPreGame_setNickname(CvDllPreGame* self, PlayerTypes p, const CvString& n);static void AfterCvDllPreGame_setNickname(CvDllPreGame* self, PlayerTypes p, const CvString& n);static void ReplaceCvDllPreGame_setNickname(void (*original)(CvDllPreGame*, PlayerTypes, const CvString&), CvDllPreGame* self, PlayerTypes p, const CvString& n);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNickname::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPreGame_setNickname);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNickname::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPreGame_setNickname);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPreGame_setNickname::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPreGame_setNickname);

Code

870void CvDllPreGame::setNickname(PlayerTypes p, const CvString& n)871{872	CvPreGame::setNickname(p, n);873}

Calls