CvLuaGame::lIsPitboss(lua_State *)
- Defined in
- Lua/CvLuaGame.cpp, line 1246
- Class
- CvLuaGame
- Hook name
CivHooks::CvLuaGame_lIsPitboss
Hooks
static bool BeforeCvLuaGame_lIsPitboss(lua_State* L, int& result);static void AfterCvLuaGame_lIsPitboss(lua_State* L, int& result);static int ReplaceCvLuaGame_lIsPitboss(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lIsPitboss>(host, &BeforeCvLuaGame_lIsPitboss);CivRegisterAfter<CivHooks::CvLuaGame_lIsPitboss>(host, &AfterCvLuaGame_lIsPitboss);CivRegisterReplace<CivHooks::CvLuaGame_lIsPitboss>(host, &ReplaceCvLuaGame_lIsPitboss);
Code
1245//bool isPitboss();1246int CvLuaGame::lIsPitboss(lua_State* L)1247{1248 return BasicLuaMethod(L, &CvGame::isPitboss);1249}
Calls
- CvGame::isPitboss() const
CvLuaMethodWrapper::BasicLuaMethod