Bazaar developer reference

CvLuaGame::lSetAIAutoPlay(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1162
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lSetAIAutoPlay

Hooks

static bool BeforeCvLuaGame_lSetAIAutoPlay(lua_State* L, int& result);static void AfterCvLuaGame_lSetAIAutoPlay(lua_State* L, int& result);static int ReplaceCvLuaGame_lSetAIAutoPlay(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSetAIAutoPlay>(host, &BeforeCvLuaGame_lSetAIAutoPlay);CivRegisterAfter<CivHooks::CvLuaGame_lSetAIAutoPlay>(host, &AfterCvLuaGame_lSetAIAutoPlay);CivRegisterReplace<CivHooks::CvLuaGame_lSetAIAutoPlay>(host, &ReplaceCvLuaGame_lSetAIAutoPlay);

Code

1161//void setAIAutoPlay(int iNewValue);1162int CvLuaGame::lSetAIAutoPlay(lua_State* L)1163{1164	return BasicLuaMethod(L, &CvGame::setAIAutoPlay);1165}

Calls

Called by