Bazaar developer reference

CvLuaPlayer::lAI_updateFoundValues(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 7917
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lAI_updateFoundValues

Hooks

static bool BeforeCvLuaPlayer_lAI_updateFoundValues(lua_State* L, int& result);static void AfterCvLuaPlayer_lAI_updateFoundValues(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lAI_updateFoundValues(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lAI_updateFoundValues>(host, &BeforeCvLuaPlayer_lAI_updateFoundValues);CivRegisterAfter<CivHooks::CvLuaPlayer_lAI_updateFoundValues>(host, &AfterCvLuaPlayer_lAI_updateFoundValues);CivRegisterReplace<CivHooks::CvLuaPlayer_lAI_updateFoundValues>(host, &ReplaceCvLuaPlayer_lAI_updateFoundValues);

Code

7916//void AI_updateFoundValues(bool bStartingLoc);7917int CvLuaPlayer::lAI_updateFoundValues(lua_State* L)7918{7919	return BasicLuaMethod(L, &CvPlayerAI::AI_updateFoundValues);7920}

Calls

Called by