Bazaar developer reference

CvLuaPlayer::lGetConscriptCount(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 6123
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGetConscriptCount

Hooks

static bool BeforeCvLuaPlayer_lGetConscriptCount(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetConscriptCount(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetConscriptCount(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetConscriptCount>(host, &BeforeCvLuaPlayer_lGetConscriptCount);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetConscriptCount>(host, &AfterCvLuaPlayer_lGetConscriptCount);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetConscriptCount>(host, &ReplaceCvLuaPlayer_lGetConscriptCount);

Code

6122//int getConscriptCount();6123int CvLuaPlayer::lGetConscriptCount(lua_State* L)6124{6125	return BasicLuaMethod(L, &CvPlayerAI::getConscriptCount);6126}

Calls

Called by