CvLuaPlayer::lIsPlayable(lua_State *)
- Defined in
- Lua/CvLuaPlayer.cpp, line 7458
- Class
- CvLuaPlayer
- Hook name
CivHooks::CvLuaPlayer_lIsPlayable
Hooks
static bool BeforeCvLuaPlayer_lIsPlayable(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsPlayable(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsPlayable(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsPlayable>(host, &BeforeCvLuaPlayer_lIsPlayable);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsPlayable>(host, &AfterCvLuaPlayer_lIsPlayable);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsPlayable>(host, &ReplaceCvLuaPlayer_lIsPlayable);
Code
7457//bool isPlayable();7458int CvLuaPlayer::lIsPlayable(lua_State* L)7459{7460 return BasicLuaMethod(L, &CvPlayerAI::isPlayable);7461}