CvPlot::GetArchaeologicalRecord() const
- Defined in
- CvPlot.cpp, line 11820
- Class
- CvPlot
- Hook name
CivHooks::CvPlot_GetArchaeologicalRecord
Hooks
static bool BeforeCvPlot_GetArchaeologicalRecord(const CvPlot* self, CvArchaeologyData& result);static void AfterCvPlot_GetArchaeologicalRecord(const CvPlot* self, CvArchaeologyData& result);static CvArchaeologyData ReplaceCvPlot_GetArchaeologicalRecord(CvArchaeologyData (*original)(const CvPlot*), const CvPlot* self);CivRegisterBefore<CivHooks::CvPlot_GetArchaeologicalRecord>(host, &BeforeCvPlot_GetArchaeologicalRecord);CivRegisterAfter<CivHooks::CvPlot_GetArchaeologicalRecord>(host, &AfterCvPlot_GetArchaeologicalRecord);CivRegisterReplace<CivHooks::CvPlot_GetArchaeologicalRecord>(host, &ReplaceCvPlot_GetArchaeologicalRecord);
Code
11820CvArchaeologyData CvPlot::GetArchaeologicalRecord() const11821{11822 return m_kArchaeologyData; // return a copy of the record11823}
Calls
CvArchaeologyData::CvArchaeologyData
Called by
- CultureHelpers::GetArtifact(CvPlot *)
- CvPlayerCulture::DoArchaeologyChoice(ArchaeologyChoiceType)
- CvPlayerCulture::GetArchaeologyChoice(CvPlot *)
- CvGame::SpawnArchaeologySitesHistorically()
- CvGlobals::GetHexDebugLayerString(CvPlot *, const char *, PlayerTypes, char *, unsigned int)
- CvPlot::calculateImprovementYieldChange(ImprovementTypes, YieldTypes, PlayerTypes, bool, RouteTypes) const
- CvLuaPlot::lGetArchaeologyArtifactEra(lua_State *)
- CvLuaPlot::lGetArchaeologyArtifactPlayer1(lua_State *)
- CvLuaPlot::lGetArchaeologyArtifactPlayer2(lua_State *)
- CvLuaPlot::lGetArchaeologyArtifactType(lua_State *)
- CvLuaPlot::lGetArchaeologyArtifactWork(lua_State *)