CvGame::isDebugMode() const
- Defined in
- CvGame.cpp, line 5497
- Class
- CvGame
- Hook name
CivHooks::CvGame_isDebugMode
Hooks
static bool BeforeCvGame_isDebugMode(const CvGame* self, bool& result);static void AfterCvGame_isDebugMode(const CvGame* self, bool& result);static bool ReplaceCvGame_isDebugMode(bool (*original)(const CvGame*), const CvGame* self);CivRegisterBefore<CivHooks::CvGame_isDebugMode>(host, &BeforeCvGame_isDebugMode);CivRegisterAfter<CivHooks::CvGame_isDebugMode>(host, &AfterCvGame_isDebugMode);CivRegisterReplace<CivHooks::CvGame_isDebugMode>(host, &ReplaceCvGame_isDebugMode);
Code
5497bool CvGame::isDebugMode() const5498{5499 return m_bDebugModeCache;5500}
Called by
- CvCity::canBeSelected() const
- CvCity::isRevealed(TeamTypes, bool) const
- CvCity::popOrder(int, bool, bool)
- CvCity::pushOrder(OrderTypes, int, int, bool, bool, bool, bool)
- CvCity::swapOrder(int)
- CvDllGame::IsDebugMode() const
- CvDllGameAsynch::IsDebugMode() const
- CvGame::cycleCities(bool, bool)
- CvNotifications::Add(NotificationTypes, const char *, const char *, int, int, int, int)
- CvPlot::GetActiveFogOfWarMode() const
- CvPlot::calculateYield(YieldTypes, bool)
- CvPlot::getDebugCenterUnit() const
- CvPlot::getResourceType(TeamTypes) const
- CvPlot::getRevealedImprovementType(TeamTypes, bool) const
- CvPlot::getRevealedOwner(TeamTypes, bool) const
- CvPlot::getRevealedRouteType(TeamTypes, bool) const
- CvPlot::getVisibleResourceState(ResourceTypes &, bool &, bool &)
- CvPlot::isVisibleWorked() const
- CvPlot::setImprovementType(ImprovementTypes, PlayerTypes)
- CvPlot::setOwner(PlayerTypes, int, bool, bool)
- CvPlot::isRevealed(TeamTypes, bool) const
- CvPlot::isVisible(TeamTypes, bool) const
- CvUnit::isInvisible(TeamTypes, bool, bool) const
- CvLuaGame::lIsDebugMode(lua_State *)