Bazaar developer reference

CvLuaGame::lGetAIAutoPlay(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1156
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetAIAutoPlay

Hooks

static bool BeforeCvLuaGame_lGetAIAutoPlay(lua_State* L, int& result);static void AfterCvLuaGame_lGetAIAutoPlay(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetAIAutoPlay(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetAIAutoPlay>(host, &BeforeCvLuaGame_lGetAIAutoPlay);CivRegisterAfter<CivHooks::CvLuaGame_lGetAIAutoPlay>(host, &AfterCvLuaGame_lGetAIAutoPlay);CivRegisterReplace<CivHooks::CvLuaGame_lGetAIAutoPlay>(host, &ReplaceCvLuaGame_lGetAIAutoPlay);

Code

1155//int getAIAutoPlay();1156int CvLuaGame::lGetAIAutoPlay(lua_State* L)1157{1158	return BasicLuaMethod(L, &CvGame::getAIAutoPlay);1159}

Calls

Called by