Bazaar developer reference

CvLuaGame::lGetInitTech(lua_State *)

Defined in
Lua/CvLuaGame.cpp, line 1113
Class
CvLuaGame
Hook name
CivHooks::CvLuaGame_lGetInitTech

Hooks

static bool BeforeCvLuaGame_lGetInitTech(lua_State* L, int& result);static void AfterCvLuaGame_lGetInitTech(lua_State* L, int& result);static int ReplaceCvLuaGame_lGetInitTech(int (*original)(lua_State*), lua_State* L);CivRegisterBefore<CivHooks::CvLuaGame_lGetInitTech>(host, &BeforeCvLuaGame_lGetInitTech);CivRegisterAfter<CivHooks::CvLuaGame_lGetInitTech>(host, &AfterCvLuaGame_lGetInitTech);CivRegisterReplace<CivHooks::CvLuaGame_lGetInitTech>(host, &ReplaceCvLuaGame_lGetInitTech);

Code

1112//int getInitTech();1113int CvLuaGame::lGetInitTech(lua_State* L)1114{1115	return BasicLuaMethod(L, &CvGame::getInitTech);1116}

Calls

Called by