Bazaar developer reference

CvLuaPlayer::lGetGoldenAgeProgressThreshold(lua_State *)

Defined in
Lua/CvLuaPlayer.cpp, line 5586
Class
CvLuaPlayer
Hook name
CivHooks::CvLuaPlayer_lGetGoldenAgeProgressThreshold

Hooks

static bool BeforeCvLuaPlayer_lGetGoldenAgeProgressThreshold(lua_State* L, int& result);static void AfterCvLuaPlayer_lGetGoldenAgeProgressThreshold(lua_State* L, int& result);static int ReplaceCvLuaPlayer_lGetGoldenAgeProgressThreshold(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaPlayer_lGetGoldenAgeProgressThreshold>(host, &BeforeCvLuaPlayer_lGetGoldenAgeProgressThreshold);CivRegisterAfter<CivHooks::CvLuaPlayer_lGetGoldenAgeProgressThreshold>(host, &AfterCvLuaPlayer_lGetGoldenAgeProgressThreshold);CivRegisterReplace<CivHooks::CvLuaPlayer_lGetGoldenAgeProgressThreshold>(host, &ReplaceCvLuaPlayer_lGetGoldenAgeProgressThreshold);

Code

5586int CvLuaPlayer::lGetGoldenAgeProgressThreshold(lua_State* L)5587{5588	return BasicLuaMethod(L, &CvPlayerAI::GetGoldenAgeProgressThreshold);5589}

Calls

Called by