CvLuaPlayer::lIsAnarchy(lua_State *)
- Defined in
- Lua/CvLuaPlayer.cpp, line 5474
- Class
- CvLuaPlayer
- Hook name
CivHooks::CvLuaPlayer_lIsAnarchy
Hooks
static bool BeforeCvLuaPlayer_lIsAnarchy(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsAnarchy(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsAnarchy(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsAnarchy>(host, &BeforeCvLuaPlayer_lIsAnarchy);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsAnarchy>(host, &AfterCvLuaPlayer_lIsAnarchy);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsAnarchy>(host, &ReplaceCvLuaPlayer_lIsAnarchy);
Code
5473//int IsAnarchy();5474int CvLuaPlayer::lIsAnarchy(lua_State* L)5475{5476 return BasicLuaMethod(L, &CvPlayerAI::IsAnarchy);5477}