Bazaar developer reference

CvLuaGame::lUpdateScore(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 479
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lUpdateScore

Hooks

static bool BeforeCvLuaGame_lUpdateScore(lua_State* L, int& result);static void AfterCvLuaGame_lUpdateScore(lua_State* L, int& result);static int ReplaceCvLuaGame_lUpdateScore(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lUpdateScore>(host, &BeforeCvLuaGame_lUpdateScore);CivRegisterAfter<CivHooks::CvLuaGame_lUpdateScore>(host, &AfterCvLuaGame_lUpdateScore);CivRegisterReplace<CivHooks::CvLuaGame_lUpdateScore>(host, &ReplaceCvLuaGame_lUpdateScore);

Code

478// void updateScore(bool bForce);479int CvLuaGame::lUpdateScore(lua_State* L)480{481	return BasicLuaMethod(L, &CvGame::updateScore);482}

Calls

Called by