Bazaar developer reference

CvLuaGame::lGetMinutesPlayed(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 920
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetMinutesPlayed

Hooks

static bool BeforeCvLuaGame_lGetMinutesPlayed(lua_State* L, int& result);static void AfterCvLuaGame_lGetMinutesPlayed(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetMinutesPlayed(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetMinutesPlayed>(host, &BeforeCvLuaGame_lGetMinutesPlayed);CivRegisterAfter<CivHooks::CvLuaGame_lGetMinutesPlayed>(host, &AfterCvLuaGame_lGetMinutesPlayed);CivRegisterReplace<CivHooks::CvLuaGame_lGetMinutesPlayed>(host, &ReplaceCvLuaGame_lGetMinutesPlayed);

Code

919//int getMinutesPlayed();920int CvLuaGame::lGetMinutesPlayed(lua_State* L)921{922	return BasicLuaMethod(L, &CvGame::getMinutesPlayed);923}

Calls

Called by