Bazaar developer reference

CvDllPlayerOptionInfo::GetDefault()

Defined in
CvDllPlayerOptionInfo.cpp, line 80
Class
CvDllPlayerOptionInfo
Hook name
CivHooks::CvDllPlayerOptionInfo_GetDefault

Hooks

static bool BeforeCvDllPlayerOptionInfo_GetDefault(CvDllPlayerOptionInfo* self, bool& result);static void AfterCvDllPlayerOptionInfo_GetDefault(CvDllPlayerOptionInfo* self, bool& result);static bool ReplaceCvDllPlayerOptionInfo_GetDefault(bool (*original)(CvDllPlayerOptionInfo*), CvDllPlayerOptionInfo* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_GetDefault::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlayerOptionInfo_GetDefault);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_GetDefault::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlayerOptionInfo_GetDefault);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlayerOptionInfo_GetDefault::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlayerOptionInfo_GetDefault);

Code

80bool CvDllPlayerOptionInfo::GetDefault()81{82	return m_pPlayerOptionInfo->getDefault();83}

Calls