Bazaar developer reference

CvLuaPlayer::lIsEmpireVeryUnhappy(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 3127
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsEmpireVeryUnhappy

Hooks

static bool BeforeCvLuaPlayer_lIsEmpireVeryUnhappy(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsEmpireVeryUnhappy(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsEmpireVeryUnhappy(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsEmpireVeryUnhappy>(host, &BeforeCvLuaPlayer_lIsEmpireVeryUnhappy);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsEmpireVeryUnhappy>(host, &AfterCvLuaPlayer_lIsEmpireVeryUnhappy);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsEmpireVeryUnhappy>(host, &ReplaceCvLuaPlayer_lIsEmpireVeryUnhappy);

Code

3126//bool IsEmpireVeryUnhappy() const;3127int CvLuaPlayer::lIsEmpireVeryUnhappy(lua_State* L)3128{3129	return BasicLuaMethod(L, &CvPlayerAI::IsEmpireVeryUnhappy);3130}

Calls

Called by