Bazaar developer reference

CvLuaPlayer::lIsHalfSpecialistUnhappiness(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 3367
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lIsHalfSpecialistUnhappiness

Hooks

static bool BeforeCvLuaPlayer_lIsHalfSpecialistUnhappiness(lua_State* L, int& result);static void AfterCvLuaPlayer_lIsHalfSpecialistUnhappiness(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lIsHalfSpecialistUnhappiness(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lIsHalfSpecialistUnhappiness>(host, &BeforeCvLuaPlayer_lIsHalfSpecialistUnhappiness);CivRegisterAfter<CivHooks::CvLuaPlayer_lIsHalfSpecialistUnhappiness>(host, &AfterCvLuaPlayer_lIsHalfSpecialistUnhappiness);CivRegisterReplace<CivHooks::CvLuaPlayer_lIsHalfSpecialistUnhappiness>(host, &ReplaceCvLuaPlayer_lIsHalfSpecialistUnhappiness);

Code

3367int CvLuaPlayer::lIsHalfSpecialistUnhappiness(lua_State* L)3368{3369	return BasicLuaMethod(L, &CvPlayerAI::isHalfSpecialistUnhappiness);3370}

Calls

Called by