Bazaar developer reference

CvLuaGame::lSetTargetScore(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 932
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lSetTargetScore

Hooks

static bool BeforeCvLuaGame_lSetTargetScore(lua_State* L, int& result);static void AfterCvLuaGame_lSetTargetScore(lua_State* L, int& result);static int ReplaceCvLuaGame_lSetTargetScore(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lSetTargetScore>(host, &BeforeCvLuaGame_lSetTargetScore);CivRegisterAfter<CivHooks::CvLuaGame_lSetTargetScore>(host, &AfterCvLuaGame_lSetTargetScore);CivRegisterReplace<CivHooks::CvLuaGame_lSetTargetScore>(host, &ReplaceCvLuaGame_lSetTargetScore);

Code

931//void setTargetScore(int iNewValue);932int CvLuaGame::lSetTargetScore(lua_State* L)933{934	return BasicLuaMethod(L, &CvGame::setTargetScore);935}

Calls

Called by