Bazaar developer reference

CvLuaPlayer::lGetMaxConscript(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 6142
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGetMaxConscript

Hooks

static bool BeforeCvLuaPlayer_lGetMaxConscript(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetMaxConscript(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetMaxConscript(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetMaxConscript>(host, &BeforeCvLuaPlayer_lGetMaxConscript);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetMaxConscript>(host, &AfterCvLuaPlayer_lGetMaxConscript);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetMaxConscript>(host, &ReplaceCvLuaPlayer_lGetMaxConscript);

Code

6141//int getMaxConscript();6142int CvLuaPlayer::lGetMaxConscript(lua_State* L)6143{6144	return BasicLuaMethod(L, &CvPlayerAI::getMaxConscript);6145}

Calls

Called by