Bazaar developer reference

CvLuaPlayer::lChangeConscriptCount(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 6135
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lChangeConscriptCount

Hooks

static bool BeforeCvLuaPlayer_lChangeConscriptCount(lua_State* L, int& result);static void AfterCvLuaPlayer_lChangeConscriptCount(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lChangeConscriptCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lChangeConscriptCount>(host, &BeforeCvLuaPlayer_lChangeConscriptCount);CivRegisterAfter<CivHooks::CvLuaPlayer_lChangeConscriptCount>(host, &AfterCvLuaPlayer_lChangeConscriptCount);CivRegisterReplace<CivHooks::CvLuaPlayer_lChangeConscriptCount>(host, &ReplaceCvLuaPlayer_lChangeConscriptCount);

Code

6134//void changeConscriptCount(int iChange);6135int CvLuaPlayer::lChangeConscriptCount(lua_State* L)6136{6137	return BasicLuaMethod(L, &CvPlayerAI::changeConscriptCount);6138}

Calls

Called by