Bazaar developer reference

CvLuaGame::lGetTurnSlice(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 914
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetTurnSlice

Hooks

static bool BeforeCvLuaGame_lGetTurnSlice(lua_State* L, int& result);static void AfterCvLuaGame_lGetTurnSlice(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetTurnSlice(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetTurnSlice>(host, &BeforeCvLuaGame_lGetTurnSlice);CivRegisterAfter<CivHooks::CvLuaGame_lGetTurnSlice>(host, &AfterCvLuaGame_lGetTurnSlice);CivRegisterReplace<CivHooks::CvLuaGame_lGetTurnSlice>(host, &ReplaceCvLuaGame_lGetTurnSlice);

Code

913//int getTurnSlice();914int CvLuaGame::lGetTurnSlice(lua_State* L)915{916	return BasicLuaMethod(L, &CvGame::getTurnSlice);917}

Calls

Called by