Bazaar developer reference

CvLuaGame::lGetUnitedNationsCountdown(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 615
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetUnitedNationsCountdown

Hooks

static bool BeforeCvLuaGame_lGetUnitedNationsCountdown(lua_State* L, int& result);static void AfterCvLuaGame_lGetUnitedNationsCountdown(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetUnitedNationsCountdown(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetUnitedNationsCountdown>(host, &BeforeCvLuaGame_lGetUnitedNationsCountdown);CivRegisterAfter<CivHooks::CvLuaGame_lGetUnitedNationsCountdown>(host, &AfterCvLuaGame_lGetUnitedNationsCountdown);CivRegisterReplace<CivHooks::CvLuaGame_lGetUnitedNationsCountdown>(host, &ReplaceCvLuaGame_lGetUnitedNationsCountdown);

Code

614// bool GetUnitedNationsCountdown() const;615int CvLuaGame::lGetUnitedNationsCountdown(lua_State* L)616{617	return BasicLuaMethod(L, &CvGame::GetUnitedNationsCountdown);618}

Calls

Called by