Bazaar developer reference

CvDllPlot::GetTeam() const

Defined in
CvDllPlot.cpp, line 83
Class
CvDllPlot
Hook name
CivHooks::CvDllPlot_GetTeam

Hooks

static bool BeforeCvDllPlot_GetTeam(const CvDllPlot* self, TeamTypes& result);static void AfterCvDllPlot_GetTeam(const CvDllPlot* self, TeamTypes& result);static TeamTypes ReplaceCvDllPlot_GetTeam(TeamTypes (*original)(const CvDllPlot*), const CvDllPlot* self);// CivHooks.h gives this hook point no types, so nothing checks these hooks' parameters.host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetTeam::ID, CIV_HOOK_BEFORE, (void*)&BeforeCvDllPlot_GetTeam);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetTeam::ID, CIV_HOOK_AFTER, (void*)&AfterCvDllPlot_GetTeam);host->RegisterHook(host->pluginIndex, CivHooks::CvDllPlot_GetTeam::ID, CIV_HOOK_REPLACE, (void*)&ReplaceCvDllPlot_GetTeam);

Code

83TeamTypes CvDllPlot::GetTeam() const84{85	return m_pPlot->getTeam();86}

Calls