Hooks
static bool BeforeCvGlobals_GetHexDebugLayerNames(CvGlobals* self, const char**& result);static void AfterCvGlobals_GetHexDebugLayerNames(CvGlobals* self, const char**& result);static const char** ReplaceCvGlobals_GetHexDebugLayerNames(const char** (*original)(CvGlobals*), CvGlobals* self);CivRegisterBefore<CivHooks::CvGlobals_GetHexDebugLayerNames>(host, &BeforeCvGlobals_GetHexDebugLayerNames);CivRegisterAfter<CivHooks::CvGlobals_GetHexDebugLayerNames>(host, &AfterCvGlobals_GetHexDebugLayerNames);CivRegisterReplace<CivHooks::CvGlobals_GetHexDebugLayerNames>(host, &ReplaceCvGlobals_GetHexDebugLayerNames);
Code
4071const char** CvGlobals::GetHexDebugLayerNames()4072{4073 static const char* hexDebugLayerNames[] =4074 {4075 "StartSiteEvaluationLayer",4076 "SettlerSiteEvaluationLayer",4077 "VisibilityLayer",4078 "RevealedLayer",4079 "DangerLayer",4080 "TacticalAnalysisLayer",4081 "ArtifactLayer",4082 "TargetingPathLayer",4083 NULL4084 };4085 return hexDebugLayerNames;4086}