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);