Bazaar developer reference

CvLuaPlayer::lIsEmpireSuperUnhappy(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 3134
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsEmpireSuperUnhappy

Hooks

static bool BeforeCvLuaPlayer_lIsEmpireSuperUnhappy(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsEmpireSuperUnhappy(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsEmpireSuperUnhappy(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsEmpireSuperUnhappy>(host, &BeforeCvLuaPlayer_lIsEmpireSuperUnhappy);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsEmpireSuperUnhappy>(host, &AfterCvLuaPlayer_lIsEmpireSuperUnhappy);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsEmpireSuperUnhappy>(host, &ReplaceCvLuaPlayer_lIsEmpireSuperUnhappy);

Code

3133//bool IsEmpireSuperUnhappy() const;3134int CvLuaPlayer::lIsEmpireSuperUnhappy(lua_State* L)3135{3136	return BasicLuaMethod(L, &CvPlayerAI::IsEmpireSuperUnhappy);3137}

Calls

Called by