Bazaar developer reference

CvLuaPlayer::lSetFaithPurchaseIndex(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 1779
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lSetFaithPurchaseIndex

Hooks

static bool BeforeCvLuaPlayer_lSetFaithPurchaseIndex(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetFaithPurchaseIndex(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetFaithPurchaseIndex(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetFaithPurchaseIndex>(host, &BeforeCvLuaPlayer_lSetFaithPurchaseIndex);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetFaithPurchaseIndex>(host, &AfterCvLuaPlayer_lSetFaithPurchaseIndex);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetFaithPurchaseIndex>(host, &ReplaceCvLuaPlayer_lSetFaithPurchaseIndex);

Code

1778//void SetFaithPurchaseIndex(int iIndex);1779int CvLuaPlayer::lSetFaithPurchaseIndex(lua_State* L)1780{1781	return BasicLuaMethod(L, &CvPlayerAI::SetFaithPurchaseIndex);1782}

Calls

Called by