Bazaar developer reference

CvLuaPlayer::lSetConscriptCount(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 6129
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lSetConscriptCount

Hooks

static bool BeforeCvLuaPlayer_lSetConscriptCount(lua_State* L, int& result);static void AfterCvLuaPlayer_lSetConscriptCount(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lSetConscriptCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lSetConscriptCount>(host, &BeforeCvLuaPlayer_lSetConscriptCount);CivRegisterAfter<CivHooks::CvLuaPlayer_lSetConscriptCount>(host, &AfterCvLuaPlayer_lSetConscriptCount);CivRegisterReplace<CivHooks::CvLuaPlayer_lSetConscriptCount>(host, &ReplaceCvLuaPlayer_lSetConscriptCount);

Code

6128//void setConscriptCount(int iNewValue);6129int CvLuaPlayer::lSetConscriptCount(lua_State* L)6130{6131	return BasicLuaMethod(L, &CvPlayerAI::setConscriptCount);6132}

Calls

Called by