Bazaar developer reference

CvLuaPlayer::lGreatAdmiralThreshold(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 2205
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGreatAdmiralThreshold

Hooks

static bool BeforeCvLuaPlayer_lGreatAdmiralThreshold(lua_State* L, int& result);static void AfterCvLuaPlayer_lGreatAdmiralThreshold(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGreatAdmiralThreshold(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGreatAdmiralThreshold>(host, &BeforeCvLuaPlayer_lGreatAdmiralThreshold);CivRegisterAfter<CivHooks::CvLuaPlayer_lGreatAdmiralThreshold>(host, &AfterCvLuaPlayer_lGreatAdmiralThreshold);CivRegisterReplace<CivHooks::CvLuaPlayer_lGreatAdmiralThreshold>(host, &ReplaceCvLuaPlayer_lGreatAdmiralThreshold);

Code

2204//int GreatAdmiralThreshold(bool bMilitary);2205int CvLuaPlayer::lGreatAdmiralThreshold(lua_State* L)2206{2207	return BasicLuaMethod(L, &CvPlayerAI::greatAdmiralThreshold);2208}

Calls

Called by